https://prefect.io logo
j

Jason

05/11/2022, 7:43 PM
If a Parameter is a boolean, can I use this to trigger optional flows, to allow UI control for options? Something like:
Copy code
save_s3 = Parameter(...)

if save_s3:
    load_s3(dataset)
a

Anna Geller

05/11/2022, 7:46 PM
you can't use if/else in Prefect 1.0 - you could in Prefect 2.0 in 1.0 you would need
case()
j

Jason

05/11/2022, 7:47 PM
Ok, gracias
3 Views