Ronald Sam
08/17/2023, 6:20 PMJacob Bedard
08/17/2023, 6:28 PMRonald Sam
08/17/2023, 6:29 PMJacob Bedard
08/17/2023, 6:29 PMRonald Sam
08/17/2023, 6:30 PMJacob Bedard
08/17/2023, 6:30 PMRonald Sam
08/17/2023, 6:30 PMJacob Bedard
08/17/2023, 6:31 PMJake Kaplan
08/17/2023, 6:31 PMJacob Bedard
08/17/2023, 6:31 PMRonald Sam
08/17/2023, 6:32 PMJake Kaplan
08/17/2023, 6:34 PMpython -m prefect.engine
which is what will kick off your flow run, get the deployment, execute the pull steps, etc.
you'll need to use the python from your existing virtualenv. For example you can change the command to /Users/jakekaplan/opt/anaconda3/envs/py310/bin/python3 -m prefect.engine
Ronald Sam
08/17/2023, 6:35 PMJake Kaplan
08/17/2023, 6:37 PMcommand
on all deployments that use that work pool, put it on the work pool.
if you want to do it on the deployment, you can put in infra overrides command: ...
Ronald Sam
08/17/2023, 6:38 PMJake Kaplan
08/17/2023, 6:38 PMcommand
is a temptable value (this is a random work pool, just to illustrate)Ronald Sam
08/17/2023, 6:39 PMJake Kaplan
08/17/2023, 6:50 PM{
"command": "/Users/jakekaplan/opt/anaconda3/envs/py310/bin/python3 -m prefect.engine"
}
except replace it with the path to the python executable from the virutal env you would like to useRonald Sam
08/17/2023, 6:53 PM