https://prefect.io logo
s

scott

07/13/2023, 11:12 PM
Any way to use deployment parameters in tasks within a flow rather than flows? https://docs.prefect.io/2.10.21/concepts/deployments/#parameters-in-deployments It seems like deployment parameters are only passed the flows linked to the deployment, while I’d like to pass those parameters to the tasks within the flow. Any ideas?
k

Kevin Grismore

07/13/2023, 11:15 PM
Since tasks get called by a flow, I always just pass them from the flow into the tasks they're needed in. Unless I'm misunderstanding?
upvote 1
s

scott

07/13/2023, 11:16 PM
maybe getting them from
runtime.flow_run.parameters