Richard Hughes
08/20/2020, 2:02 PMDylan
flow.run()
😄
Do you need to start a flow via API with Prefect Cloud or Server?Richard Hughes
08/20/2020, 2:04 PMDylan
Dylan
Dylan
Dylan
FlowRunTask
in the Task library if you need to kick off flow runs from a flow run 💥Dylan
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
version_group_id
instead of an id
. The version group persists across all versions of your flow and will always run the latestDylan
Richard Hughes
08/20/2020, 2:17 PMDylan
Dylan
Dylan
Dylan
Dylan
flow_group_id
by defaultDylan
Dylan
Dylan
version_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
Richard Hughes
08/20/2020, 3:33 PMDylan