airflow_pydantic.Pool¶
- pydantic model airflow_pydantic.Pool[source]¶
Bases:
BaseModelShow JSON schema
{ "title": "Pool", "type": "object", "properties": { "pool": { "description": "Pool name", "title": "Pool", "type": "string" }, "slots": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Number of slots in the pool", "title": "Slots" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "", "description": "Pool description", "title": "Description" }, "include_deferred": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "description": "Whether to include deferred tasks in the pool", "title": "Include Deferred" } }, "required": [ "pool" ] }
- Fields:
description (str | None)include_deferred (bool | None)pool (str)slots (int | None)
- field pool: str [Required]¶
Pool name
- field slots: int | None = None¶
Number of slots in the pool
- field description: str | None = ''¶
Pool description
- field include_deferred: bool | None = False¶
Whether to include deferred tasks in the pool