Returns parent function/modifier of the variable.
Last updated 1 month ago
get_parent() β Callable
get_parent() β
Callable
from glider import * def query(): instructions = Instructions().exec(1, 2) for instruction in instructions: components = instruction.get_components() for component in components: if isinstance(component, VarValue): parent = component.get_parent() print(parent) return instructions