Chris Arderne
11/16/2021, 10:32 AMprefect run -p …
) or registered/from Cloud? Context in this issue.Anna Geller
prefect run -p flow.py
, then it’s running only locally and the flow run is not stored in the backend. But if you use prefect run --id flow-uuid
, then you trigger a flow run via API and you can inspect the results in the Prefect Cloud UI or API. So the latter is equivalent to a quick run in the UI.Chris Arderne
11/16/2021, 11:51 AMAnna Geller
Kevin Kho
flow.run()
or local agent? There is a flag for cloud triggered runs running_with_backend: True
in the contextChris Arderne
11/16/2021, 7:48 PMprefect run -p flowfile.py
. Which (in this case at least?) is equivalent to flow.run()
. Thanks for the heads up about running_with_backend
, I didn't spot that but sounds perfect.