Returns parent function/modifier of the instruction.
Last updated 4 months ago
get_parent() → Callable | NoneObject
The function returns a object, specifically either a or object, where the current instruction is placed.
from glider import * def query(): #return the parent function/modifier of an instruction return [Instructions().exec(1)[0].get_parent()]