prefect.variables
Variable
name
: A string identifying the variable.value
: A string that is the value of the variable.tags
: An optional list of strings to associate with the variable.set
overwrite=True
Returns the newly set variable object.
Args:
-
: The name of the variable to set.-
: The value of the variable to set.-
: An optional list of strings to associate with the variable.-
: Whether to overwrite the variable if it already exists.get
-
: The name of the variable value to get.-
: The default value to return if the variable does not exist.unset
-
: The name of the variable to unset.True
if the variable was deleted, False
if the variable did not exist.