StatePoint.get_variable()
Method that returns object of variable
get_variable() →
StateVariable
Query Example
from glider import *
def query():
instructions = (
Functions()
.with_name("latestRoundData")
.exec(1)
.instructions()
.exec()
)
for instruction in instructions:
for df in instruction.get_components():
if isinstance(df, VarValue):
for state_point in df.get_defining_points():
print(state_point.get_variable())
return instructions
Example Output

Last updated