Back to Prefect

utilities

docs/v3/api-ref/python/prefect-workers-utilities.mdx

3.6.30.dev3681 B
Original Source

prefect.workers.utilities

Functions

get_available_work_pool_types <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/workers/utilities.py#L16" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
get_available_work_pool_types() -> List[str]

get_default_base_job_template_for_infrastructure_type <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/workers/utilities.py#L37" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
get_default_base_job_template_for_infrastructure_type(infra_type: str) -> Optional[Dict[str, Any]]