get

Definition

Displays information about a variable.

Usage

$ airflow variables get [-h] [-d VAL] [-j] [-v] key

Arguments

Parameter Description

key

Variable key

-d, --default

Return default value if variable does not exist

-j, --json

Deserialize JSON variable

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Examples

To get information about the test_variable, run:

$ airflow variables get test_variable
Found a mistake? Seleсt text and press Ctrl+Enter to report it