prefect.cli.variable
get(name)
async
Get a variable's value.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
the name of the variable to get |
required |
Source code in src/prefect/cli/variable.py
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
|
inspect(name)
async
View details about a variable.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
the name of the variable to inspect |
required |
Source code in src/prefect/cli/variable.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
list_variables(limit=typer.Option(100, '--limit', help='The maximum number of variables to return.'))
async
List variables.
Source code in src/prefect/cli/variable.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
unset(name)
async
Unset a variable.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
the name of the variable to unset |
required |
Source code in src/prefect/cli/variable.py
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
|