Any way to use deployment parameters in tasks with...
# ask-community
s
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
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
maybe getting them from
runtime.flow_run.parameters