batch.definition.json package¶
Submodules¶
batch.definition.json.definition_v6 module¶
Manages the v6 batch definition schema
-
class
batch.definition.json.definition_v6.
BatchDefinitionV6
(definition=None, do_validate=False)¶ Bases:
object
Represents a v6 definition JSON for a batch
-
get_definition
()¶ Returns the batch definition represented by this JSON
Returns: The batch definition Return type: batch.definition.definition.BatchDefinition
:
-
get_dict
()¶ Returns the internal dictionary
Returns: The internal dictionary Return type: dict
-
-
batch.definition.json.definition_v6.
convert_definition_to_v6
(definition)¶ Returns the v6 definition JSON for the given batch definition
Parameters: definition ( batch.definition.definition.BatchDefinition
) – The batch definitionReturns: The v6 definition JSON Return type: batch.definition.json.definition_v6.BatchDefinitionV6