airflow_balancer.config.Host

pydantic model airflow_balancer.config.Host[source]

Bases: BaseModel

Show JSON schema
{
   "title": "Host",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "type": "string"
      },
      "username": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Username"
      },
      "password": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Password"
      },
      "password_variable": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Password Variable"
      },
      "password_variable_key": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Password Variable Key"
      },
      "key_file": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Key File"
      },
      "os": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Os"
      },
      "pool": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Pool"
      },
      "size": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Size"
      },
      "queues": {
         "items": {
            "type": "string"
         },
         "title": "Queues",
         "type": "array"
      },
      "tags": {
         "items": {
            "type": "string"
         },
         "title": "Tags",
         "type": "array"
      }
   },
   "required": [
      "name"
   ]
}

Fields:
field name: str [Required]
field username: str | None = None
field password: str | None = None
field password_variable: str | None = None
field password_variable_key: str | None = None
field key_file: str | None = None
field os: str | None = None
field pool: str | None = None
field size: int | None = None
field queues: List[str] [Optional]
field tags: List[str] [Optional]
property hook: SSHHook