Skip to main content

prefect_docker.experimental.decorators

Functions

docker

docker(work_pool: str, **job_variables: Any) -> Callable[[Flow[P, R]], Flow[P, R]]
Decorator that binds execution of a flow to a Docker work pool Args:
  • work_pool: The name of the Docker work pool to use
  • **job_variables: Additional job variables to use for infrastructure configuration