StateVariable.with_name()
Adds a filter to get state variables with the given name
with_name(name: str, sensitivity: bool = True) → StateVariables
Query Example
from glider import *
def query():
state_variables = (
StateVariables()
.with_name("owner")
.exec(5)
)
print(state_variables[0].source_code())
return state_variablesExample Output

Last updated