Richard Hughes
08/20/2020, 2:02 PMDylan
08/20/2020, 2:03 PMflow.run()
😄
Do you need to start a flow via API with Prefect Cloud or Server?Richard Hughes
08/20/2020, 2:04 PMDylan
08/20/2020, 2:06 PMFlowRunTask
in the Task library if you need to kick off flow runs from a flow run 💥Richard Hughes
08/20/2020, 2:13 PMprefect.client.client.Client.create_flow_run()
What if I don't know the flow_id and only the flow_name? I need to query the flow_idDylan
08/20/2020, 2:15 PMversion_group_id
instead of an id
. The version group persists across all versions of your flow and will always run the latestRichard Hughes
08/20/2020, 2:17 PMDylan
08/20/2020, 2:18 PMflow_group_id
by defaultversion_group_id
to whatever string you’d like at registration time. Just pass version_group_id
to flow.register()
Richard Hughes
08/20/2020, 2:35 PMDylan
08/20/2020, 2:39 PMRichard Hughes
08/20/2020, 3:33 PMDylan
08/20/2020, 3:38 PM