jina.parsers.helper

jina.parsers.helper.add_arg_group(parser, title)[source]
jina.parsers.helper.UUIDString(astring)[source]

argparse type to check if a string is a valid UUID string

class jina.parsers.helper.KVAppendAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]

Bases: argparse.Action

argparse action to split an argument into KEY=VALUE form on the first = and append to a dictionary. This is used for setting up –env

class jina.parsers.helper.DockerKwargsAppendAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]

Bases: argparse.Action

argparse action to split an argument into KEY: VALUE form on the first : and append to a dictionary. This is used for setting up arbitrary kwargs for docker sdk