jina.parsers

jina.parsers.set_pea_parser(parser=None)[source]

Set the parser for the Pea

Parameters

parser – an optional existing parser to build upon

Returns

the parser

jina.parsers.set_pod_parser(parser=None)[source]

Set the parser for the Pod

Parameters

parser – an optional existing parser to build upon

Returns

the parser

jina.parsers.set_gateway_parser(parser=None)[source]

Set the parser for the gateway arguments

Parameters

parser – an optional existing parser to build upon

Returns

the parser

jina.parsers.set_client_cli_parser(parser=None)[source]

Set the parser for the cli client

Parameters

parser – an optional existing parser to build upon

Returns

the parser

jina.parsers.get_main_parser()[source]

The main parser for Jina

Returns

the parser