airflow_pydantic.Variable

pydantic model airflow_pydantic.Variable[source]

Bases: BaseModel

field key: str [Required]

Variable key

field val: str | None = '' (alias '_val')

Variable value

field description: str | None = ''

Variable description

field is_encrypted: bool | None = False

Whether the variable is encrypted

field deserialize_json: bool | None = False

Whether to deserialize JSON

get()[source]