Matt Gordon
01/22/2021, 6:46 PMStartFlowRun
:
Task used to kick off a flow run using Prefect Core’s server or Prefect Cloud. If multiple versions of the flow are found, this task will kick off the most recent unarchived version.(Emphasis mine.) The problem I’m having is this: if I instantiate StartFlowRun with a
project_name
, I get:
Malformed response received from Cloud - please ensure that you have an API token properly configured.
If I instantiate it without specifying a project_name
, at runtime I see:
raise ValueError("Must provide a project name.")
raised from StartFlowRun
nicholas
prefect backend server
before running your script?Matt Gordon
01/22/2021, 6:54 PMprefect==0.13.19
for our execution. Up until now, I have not needed to run Prefect Server to run any of my flows. It sounds like using StartFlowRun will require me to run the backend server?nicholas
StartFlowRun
, you'll need to be using a backend (Server or Cloud). If you're working with Core-only, there's no central arbiter of flow state. In addition, flow.run
doesn't support concurrent flow runs so your only option is to call out to another script where a separate flow is defined (with python other_flow.py
)Matt Gordon
01/22/2021, 7:12 PMResult
in between them to pass the data along.nicholas
Matt Gordon
01/22/2021, 7:15 PM