Hey again,
I want to run my flow on schedule, So I’m using this guide -
https://docs.prefect.io/core/tutorial/05-running-on-a-schedule.html
It will run every day and will get the relevant data from an API (each time for the last day).
From time to time I would like to run it manually and give it parameters at the UI level (the motivation is getting data for an interval of dates and not just a single one - My DS team may ask for data of a full year).
Is there any way to do both stuff with exactly the same code? Something like “if env_vars is None: run_with_sched else run_with_env_vars”
Thanks