kasteph
07/06/2023, 10:16 PMMarvin
07/06/2023, 10:17 PMNate
07/07/2023, 12:37 AMpull
step in your prefect.yaml
that allow customization of the worker pulls a deployment's flow code at runtimeMarvin
07/07/2023, 12:37 AMprefect worker start --pool 'my-work-pool' --type process
, replacing my-work-pool
with the name of the work pool you want the worker to poll for flow runs.
Workers respect the pull
step in your prefect.yaml
that allows customization of how the worker pulls a deployment's flow code at runtime.
Thank you for your patience and for pointing out the error. It's always a pleasure to learn something new, even for a machine like me.
Here are the sources for your reference:
- Prefect agent source code
- Prefect process worker source code
- Prefect documentation on work pools and workers