Hi there! Anyone could explain where I set the 'co...
# ask-community
a
Hi there! Anyone could explain where I set the 'config', while running SatartFlowRun ? I'm using with
new_flow_context=prefect.context.get('config')
k
Hi @Arnaldo Russo! Do you mean RunConfig or config.toml?
a
exactly. I don't know which config is this
k
You don’t need to pass anything. That is to propagate the current context to the new Flow Run if you need it (think passing down things like flow start time)
a
trying to fix an old prefect script and I did not understand what and where is this 'config'
goood!
k
Yeah you don’t really need to do anything unless you are trying to get something from the parent flow to the child flow
a
it's right! Is a flow with many flows. In this case how I could access this config?
k
That code you posted looks like it would be the pay to pass the
config
. If you are asking how to know what is inside, I suggest you print/log it, but you have to do it inside a task
a
cool!
tks a lot