Skip to main content

prefect_gcp.experimental.decorators

Functions

cloud_run

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

vertex_ai

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