prefect.workers.process
¶
Module containing the Process worker used for executing flow runs as subprocesses.
Note this module is in beta. The interfaces within may change without notice.
To start a Process worker, run the following command:
prefect worker start --pool 'my-work-pool' --type process
Replace my-work-pool
with the name of the work pool you want the worker
to poll for flow runs.
For more information about work pools and workers, checkout out the Prefect docs.
ProcessJobConfiguration
¶
Bases: BaseJobConfiguration
Source code in /home/runner/work/docs/docs/prefect_source/src/prefect/workers/process.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
|
validate_command
¶
Make sure that the working directory is formatted for the current platform.
Source code in /home/runner/work/docs/docs/prefect_source/src/prefect/workers/process.py
84 85 86 87 88 89 |
|
ProcessWorkerResult
¶
Bases: BaseWorkerResult
Contains information about the final state of a completed process
Source code in /home/runner/work/docs/docs/prefect_source/src/prefect/workers/process.py
126 127 |
|