https://dagster.io/ logo
#ask-community
Title
# ask-community
d

Daniil

02/21/2023, 3:31 PM
Hey guys! Can you please suggest what would be the best way to call one pipeline from another? With passing some data including config from first pipeline to the second one? I tried to use
execute_pipeline
function and it works BUT second pipeline run isn't recorded in respective runs which is not good for me.
s

Saul Burgos

02/21/2023, 3:59 PM
I found this
d

Daniil

02/21/2023, 4:10 PM
Thanks! For now i backed of to saving an object to external storage. Maybe your solution will be cleaner. Does
run_record.pipeline_run
object contain pipeline's context?
s

Saul Burgos

02/21/2023, 4:15 PM
Not sure, about that. Not expert on dagster... I am learning also 😅
c

claire

02/22/2023, 6:05 PM
The pipeline run object does not contain the pipeline's context. But you should be able to call
run_record.pipeline_run.run_config
to fetch the run config.
d

Daniil

02/22/2023, 6:06 PM
That's cool! Thank you, Claire!