James Phoenix02/08/2021, 1:22 PM
emre02/08/2021, 1:49 PM
run_configs, and run them in the agent process.
: https://github.com/PrefectHQ/prefect/blob/8ce99d9752b175eeaf8a0b15ba3d0a80c221b69e/src/prefect/core/flow.py#L1543 This, if I remember correctly, registers the flow with the correct run config, starts an agent locally, and tells server to start a flow run, which only the local agent can pick up.
in the flask route yourself: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/agent/local/agent.py Note that you NEED your flow to be configured with
if you want the flow to run in the agent process.
James Phoenix02/08/2021, 2:16 PM