Variable.get
Variable.get() → self
Fetches the variable, after which variable.properties will contain a dict with entries corresponding to the properties on the variable resource definition. Will raise an error if the variable does not exist.
Returns:
self (a Variable)
Examples:
table = redivis.organization("Demo").dataset("iris_species").table("iris")
variable = table.variable("sepalLengthCm")
variable.get()
print(variable.properties)
{
"kind": "variable",
... (see variable resource definition)
}
Last updated
Was this helpful?