Eric Feldman
11/01/2021, 12:23 PMEric Feldman
11/01/2021, 12:27 PMpipeline.fire_and_forget
runs client.create_flow_run
this part takes 100ms, the majority of the time is while waitingEric Feldman
11/01/2021, 12:28 PMAnna Geller
flow.run()
Overall, this is what is recommended for running flows locally. Running it via API call is something what you would typically do when the flow is already deployed.
I believe, this is not what you are interested in doing because you trigger all flows from the API somehow, correct?Eric Feldman
11/01/2021, 12:34 PMflow.run()
because it is blocks the main thread and I can’t do thatAnna Geller
Eric Feldman
11/01/2021, 1:18 PMAnna Geller
Eric Feldman
11/01/2021, 2:05 PMAnna Geller
Kevin Kho
Eric Feldman
11/01/2021, 2:34 PMKevin Kho
Eric Feldman
11/01/2021, 2:41 PMEric Feldman
11/02/2021, 8:43 AMprefect server start
prefect agent local start
this is the optimal way?Anna Geller
Eric Feldman
11/02/2021, 5:08 PMKevin Kho