Is it possible to make parameters optional vs. req...
# ask-community
d
Is it possible to make parameters optional vs. required in Prefect 2.0?
1
z
Definitely! Just set a default value for them in the function signature if you want them to be optional
d
Thank you, I did that but in the UI it still shows “required” when I try to run without setting a value
k
Have you redeployed that flow since changing the parameters to have defaults?
d
Yes I have I’ll redeploy again