https://prefect.io logo
Title
b

Blake Stefansen

09/01/2022, 4:41 PM
Hi Everyone, What is the right format for passing in parameters to my deployments using the python library? I can't seem to get my parameters to show up in orion Version: 2.3.0
1
r

Ryan Peden

09/01/2022, 5:18 PM
A dict literal like you are using works for me. Just to confirm, your isp_flow function takes a
bucket
parameter something like:
@flow
def isp_flow(bucket: str):
  #your flow code
b

Blake Stefansen

09/01/2022, 5:21 PM
yes that's correct
r

Ryan Peden

09/01/2022, 5:55 PM
Did you initially create the deployment without parameters? I'm able to reproduce this if my flow has no parameters and then I add them later. When that happens, re-applying the same deployment name doesn't update the parameters. But deleting the flow in the UI and then re-running the deployment seems to fix it. And since the work queue name doesn't change, any agents pulling and running flows for that deployment should keep working
🎖️ 1
🎉 1
b

Blake Stefansen

09/01/2022, 5:57 PM
I literally just did the same thing lol. It works now. Thank you!
r

Ryan Peden

09/01/2022, 6:01 PM
Happy to help! Glad to hear you sorted it out. It looks like we have an issue for this in GitHub, so I expect it will be addressed soon.
🙌 1