jina.hubble.requirements module

Module for helper functions for parsing requirements file.

jina.hubble.requirements.parse_requirement(line)[source]

Parses a Requirement from a line of a requirement file.

Parameters

line (str) – a line of a requirement file

Return type

Requirement

Returns

a Requirement instance for the given line