Matt Gordon01/22/2021, 6:46 PM
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
, I get:
If I instantiate it without specifying a
Malformed response received from Cloud - please ensure that you have an API token properly configured.
, at runtime I see:
raise ValueError("Must provide a project name.")
before running your script?
prefect backend server
Matt Gordon01/22/2021, 6:54 PM
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?
, 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,
doesn't support concurrent flow runs so your only option is to call out to another script where a separate flow is defined (with
Matt Gordon01/22/2021, 7:12 PM
in between them to pass the data along.
Matt Gordon01/22/2021, 7:15 PM