Get Started
API Reference
Advanced Usage
uses
Extensions
Community
Indices and Tables
jina.jaml.parsers.flow.legacy.
LegacyParser
Bases: jina.jaml.parsers.base.VersionedYAMLParser
jina.jaml.parsers.base.VersionedYAMLParser
version
parse
Return the Flow YAML parser given the syntax version number
cls (Type[BaseFlow]) – target class type to parse into, must be a JAMLCompatible type
Type
BaseFlow
JAMLCompatible
data (Dict) – flow yaml file loaded as python dict
Dict
dump
Return the dictionary given a versioned flow object
data (BaseFlow) – versioned flow object