Get local config
Submodule to handle the local-backend configuration for a WorkflowTask
| FUNCTION | DESCRIPTION |
|---|---|
get_local_backend_config |
Prepare a specific |
Classes¶
Functions:¶
get_local_backend_config(shared_config, wftask, which_type, tot_tasks=1)
¶
Prepare a specific LocalBackendConfig configuration.
The base configuration is the runner-level shared_config object, based
on resource.jobs_runner_config. We then incorporate attributes from
wftask.meta_{non_parallel,parallel} - with higher priority.
| PARAMETER | DESCRIPTION |
|---|---|
|
Configuration object based on
TYPE:
|
|
WorkflowTaskV2 for which the backend configuration should be prepared.
TYPE:
|
|
Whether we should look at the non-parallel or parallel part
of
TYPE:
|
|
Not used here, only present as a common interface.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
JobRunnerConfigLocal
|
A ready-to-use local-backend configuration object. |