Bivu Raj
07/30/2020, 4:55 PMclient.create_flow_run("a14f9774-e94d-40cc-b019-cb9044e120d4", run_name=f"manually_run_flow")
I understand that there can be multiple versions of the same flow. However, is there a way to query the latest version of UUID for a given flow from the client class itself and not using the graphql api? ThanksChris White
07/30/2020, 5:02 PMversion_group_id
as a keyword argument to `create_flow_run`; the version group ID of your Flow is a stable ID that will always reference the latest version of your flowBivu Raj
07/30/2020, 5:09 PMChris White
07/30/2020, 5:10 PMPedro Machado
07/31/2020, 5:00 AMversion_group_id
automatically generated or do I have to provide it when registering the flow?
I have been creating flow runs using the ID I get from prefect get flows
but I couldn't figure out a way to get the same using the Python client.Chris White
07/31/2020, 3:32 PMquery{
flow(where: {id: {_eq: "FLOW-ID"}}){
version_group_id
}
}
in the interactive API or via the Python Client’s graphql
methodPedro Machado
08/01/2020, 6:21 AM