patch_pool
Manage and update task pools in Airflow by modifying slot allocation, queue status, and scheduling parameters to optimize task execution efficiency.
Instructions
patch_pool
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deferred_slots | No | ||
description | No | ||
include_deferred | No | ||
name | No | ||
occupied_slots | No | ||
open_slots | No | ||
pool_name | No | ||
queued_slots | No | ||
running_slots | No | ||
scheduled_slots | No | ||
slots | No | ||
update_mask | No |
Input Schema (JSON Schema)
{
"properties": {
"deferred_slots": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Deferred Slots"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"include_deferred": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Deferred"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"occupied_slots": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Occupied Slots"
},
"open_slots": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Open Slots"
},
"pool_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Pool Name"
},
"queued_slots": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Queued Slots"
},
"running_slots": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Running Slots"
},
"scheduled_slots": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Scheduled Slots"
},
"slots": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Slots"
},
"update_mask": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Update Mask"
}
},
"title": "patch_pool_input",
"type": "object"
}