batch.configuration.json package¶
Submodules¶
batch.configuration.json.configuration_v6 module¶
Manages the v6 batch configuration schema
-
class
batch.configuration.json.configuration_v6.
BatchConfigurationV6
(configuration=None, do_validate=False)¶ Bases:
object
Represents a v6 configuration JSON for a batch
-
get_configuration
()¶ Returns the batch configuration represented by this JSON
Returns: The batch configuration Return type: batch.configuration.configuration.BatchConfiguration
:
-
get_dict
()¶ Returns the internal dictionary
Returns: The internal dictionary Return type: dict
-
-
batch.configuration.json.configuration_v6.
convert_configuration_to_v6
(configuration)¶ Returns the v6 configuration JSON for the given batch configuration
Parameters: configuration ( batch.configuration.configuration.BatchConfiguration
) – The batch configurationReturns: The v6 configuration JSON Return type: batch.configuration.json.configuration_v6.BatchConfigurationV6