I am new to Prefect, and I was wondering, if there is any way to restrict values of Parameters (Inputs) that can be specified in UI. For example, user can specify Input value (Parameter) as "dbt run" or "dbt run --*", but cannot pass "dbt clean" ?
06/10/2022, 11:54 AM
Hey @Michal Bledowski, I’m not aware of any such restrictions we can currently apply from the UI perspective.
interesting idea though, I’ll make sure that feedback is considered for future enhancements to our parameters input
06/10/2022, 11:57 AM
thank you @Evan Sutherland
06/10/2022, 12:21 PM
Prefect 2.0 supports Pydantic type validation - you can restrict allowed values using Enum