Hey community, In the python api you have the abi...
# ask-community
b
Hey community, In the python api you have the ability to run a flow locally, that has a schedule by adding
flow.run(run_on_schedule=False)
. I can't find this option for the cli when running
prefect run -p my_flow.py
What am I missing?
z
Hey Ben, that looks like an oversight. I think the
prefect run
command ought to run without a schedule by default and require an explicit
--schedule
flag to run repeatedly on a schedule. I'll open a feature request for this
💯 1
@Marvin open "Ignore schedules by default in local flow runs using
prefect run
"
b
ah ok, thanks @Zanie