jina.parsers.flow module

Argparser module for Flow

jina.parsers.flow.mixin_flow_features_parser(parser)[source]

Add the arguments for the Flow features to the parser

Parameters

parser – the parser configure

jina.parsers.flow.mixin_k8s_parser(parser)[source]

Add the arguments for the Kubernetes features to the parser

Parameters

parser – the parser configure

jina.parsers.flow.set_flow_parser(parser=None, with_identity=False)[source]

Set the parser for the flow

Parameters
  • parser – an (optional) initial parser to build upon

  • with_identity – if to include identity in the parser

Returns

the parser