Returns parent function/modifier of the variable.
Last updated 3 months 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