Modes are only used in the creation of PipelineDefinition objects, which are now deprecated in favor of JobDefinition.
ModeDefinition(name=None, resource_defs=None, logger_defs=None, executor_defs=None, description=None, _config_mapping=None, _partitioned_config=None)¶
Define a mode in which a pipeline can operate.
A mode provides pipelines with a set of resource implementations, loggers, system storages, and executors.
executor_defs (Optional[List[ExecutorDefinition]]) – The set of executors available when
executing in this mode. By default, this will be the ‘in_process’ and ‘multiprocess’
description (Optional[str]) – A human-readable description of the mode.
_config_mapping (Optional[ConfigMapping]) – Only for internal use.
_partitions (Optional[PartitionedConfig]) – Only for internal use.