StateVariable.source_code()
Returns the source code of the state variable.
source_code() → str
Query Example
from glider import *
def query():
state_variables = (
StateVariables()
.exec(5)
)
for state_var in state_variables:
print(state_var.source_code())
return state_variables
Output Example

Last updated