def create_executor_config(context_creation_data): check.inst_param(context_creation_data, 'context_creation_data', ContextCreationData) return construct_executor_config( InitExecutorContext( pipeline_def=context_creation_data.pipeline_def, mode_def=context_creation_data.mode_def, executor_def=context_creation_data.executor_def, pipeline_run=context_creation_data.pipeline_run, environment_config=context_creation_data.environment_config, executor_config=context_creation_data.environment_config.execution.execution_engine_config, system_storage_def=context_creation_data.system_storage_def, instance=context_creation_data.instance, ) )
def create_executor_config(context_creation_data): check.inst_param(context_creation_data, 'context_creation_data', ContextCreationData) environment_config, pipeline_def, executor_def, run_config = ( context_creation_data.environment_config, context_creation_data.pipeline_def, context_creation_data.executor_def, context_creation_data.run_config, ) return construct_executor_config( InitExecutorContext( pipeline_def=pipeline_def, mode_def=context_creation_data.mode_def, executor_def=executor_def, run_config=run_config, environment_config=environment_config, executor_config=environment_config.execution.execution_engine_config, ) )