Value.get_arg_vars()
Returns a list of VarValue objects of current value whose corresponding object is an argument variable.
get_arg_vars() -> APIList[VarValue]
The function returns all the arguments' vars used inside the Value.
Example
from glider import *
def query():
instructions = (
Instructions()
.exec(1,10)
)
for instruction in instructions:
print(instruction.get_components().get_arg_vars().expression)
return instructionsExample Output

Last updated