Apache Airflow · Arazzo Workflow
Apache Airflow Upsert a Slot Pool
Version 1.0.0
Create or resize an Airflow pool by name, then read back its slot accounting.
View Spec
View on GitHub
ApacheDAGData PipelineETLOpen SourceOrchestrationPythonSchedulingWorkflowArazzoWorkflows
Provider
Workflows
upsert-pool
Create an Airflow pool or resize it if it already exists.
Resolves the pool by name, patches its slot count when present and creates it when absent, then reads back the slot accounting and the deployment-wide pool inventory.
1
lookupPool
get_pool
Look the pool up by name. A 200 means it exists and should be resized; a 404 means it must be created. Both are expected outcomes, so the branch is decided on the status code.
2
updatePool
patch_pool
Resize the existing pool. The update_mask restricts the patch to slots and description so the pool is not accidentally renamed, which is what happens when the name field is included in the mask.
3
createPool
post_pool
Create the pool when the lookup found nothing under this name.
4
readBackPool
get_pool
Read the pool back and require the slot count to match what was requested, returning the live occupied, used, queued, and open slot accounting.
5
listPools
get_pools
List every pool so the caller can see the deployment's full concurrency budget alongside the pool just written.