Slackbot
11/13/2022, 6:23 PMIgnacio Oguiza
11/14/2022, 8:45 AMEduardo
import_tasks_from
, you can define placeholders in the parameters
source: some-task
params:
# define a placeholder
some_param: '{{some_param}}'
then, you could have env.train.yaml
, and env.inference.yaml
and define the values there:
some_param: some_value
to switch between the two envs, you can set the environment variable before running the pipeline:
export PLOOMBER_ENV_FILENAME=env.train.yaml && ploomber build
does this work?Ignacio Oguiza
11/14/2022, 1:06 PMEduardo