jina.helper

jina.helper.batch_iterator(data, batch_size, axis=0)[source]
Return type

Iterator[Any]

jina.helper.parse_arg(v)[source]
jina.helper.load_contrib_module()[source]
class jina.helper.PathImporter[source]

Bases: object

static add_modules(*paths)[source]
jina.helper.random_port()[source]
Return type

int

jina.helper.get_random_identity()[source]
Return type

str

jina.helper.expand_env_var(v)[source]
Return type

str

jina.helper.colored(text, color=None, on_color=None, attrs=None)[source]
jina.helper.kwargs2list(kwargs)[source]
jina.helper.valid_yaml_path(path, to_stream=False)[source]