prefect.cli.variable

Functions

list_variables

list_variables(limit: int = typer.Option(100, '--limit', help='The maximum number of variables to return.'))
List variables.

inspect

inspect(name: str, output: Optional[str] = typer.Option(None, '--output', '-o', help='Specify an output format. Currently supports: json'))
View details about a variable. Args:
  • name: the name of the variable to inspect

get

get(name: str)
Get a variable’s value. Args:
  • name: the name of the variable to get

parse_value

parse_value(value: str) -> Union[str, int, float, bool, None, Dict[str, Any], List[str]]

unset

unset(name: str)
Unset a variable. Args:
  • name: the name of the variable to unset