https://prefect.io logo
s

Sylvain Hazard

09/26/2022, 12:14 PM
Hey ! Prefect 1 question : is there no way for me to schedule a Flow with required arguments, even though the schedule has
default_params
that fill required parameters ? I want to make sure users can't run the flow without specifying some arguments but also schedule it.
1
r

Rob Freedy

09/26/2022, 2:27 PM
If the
required
boolean is True in Parameter object, the default value is ignored and the flow will require a parameter to be passed in: https://docs-v1.prefect.io/api/latest/core/parameters.html#parameter-2
s

Sylvain Hazard

09/26/2022, 2:31 PM
Makes sense, thanks !
👍 1