Callables.instructions()
instructions() →
Instructions
Returns the Instructions object for the instructions of the callables. This method can be called on all Callables child classes: Functions and Modifiers.
Functions Example
from glider import *
def query():
# Retrieve the instructions of a list of functions
instructions = Functions().instructions().exec(100)
# Return the first five instructions
return instructions[:5]
Output:

Modifiers Example
from glider import *
def query():
# Retrieve the instructions of a list of modifiers
instructions = Modifiers().instructions().exec(100)
# Return the first five instructions
return instructions[:5]
Output:

Last updated