https://prefect.io logo
Title
i

iKeepo w

10/24/2022, 3:49 AM
hello, anyway to specify the parameter info in the deployment.yaml through the CLI, seems just can be modified after
prefect deployment build
?
1
a

Anna Geller

10/24/2022, 11:02 AM
not sure I understood the question, you can change the default parameter values anytime, even from the UI, the build command is mainly important to set the parameter schema though (e.g. whether your parameter
number
should be int or str)
and if you modify the default parameter values/schema in your flow function and then rerun build command, both parameter schema and default values should be updated based on what you set in your flow function