prefect.workers
server
prefect.workers.server
Functions
build_healthcheck_server
Build a healthcheck FastAPI server for a worker.
Args:
worker
: the worker whose health we will checklog_level
: the log
start_healthcheck_server
Run a healthcheck FastAPI server for a worker.
Args:
worker
: the worker whose health we will checklog_level
: the log level to use for the server