Ling Chen
01/13/2022, 11:26 PMKevin Kho
create_flow_run()
can start a flow by name and project already so if that is the use case, no need to work with the flow idLing Chen
01/13/2022, 11:33 PMKevin Kho
create_flow_run(flow_name=…,project_name=…)
and that will find the id are start it for you. It returns the flow_run_id
of the new runKevin Kho
Ling Chen
01/13/2022, 11:42 PMLing Chen
01/13/2022, 11:43 PMflow_run_id
. Is it possible to get the flow_id
?Kevin Kho
client.graphql()
Ling Chen
01/13/2022, 11:51 PMKevin Kho
Ling Chen
01/13/2022, 11:54 PMZanie
FlowRunView
or FlowView
Zanie
FlowView.from_flow_name
takes a name and projectZanie
flow_id
from a FlowRunView
(https://docs.prefect.io/orchestration/flow-runs/inspection.html#creating-a-flowrunview)Zanie
Ling Chen
01/14/2022, 12:02 AM