Functions.caller_modifiers_recursive()
Returns a Modifiers object representing the modifiers through which the functions from current Functions object could be called.
caller_modifiers_recursive() →
Modifiers
The function will retrieve extended/inter-procedural modifiers, meaning it works recursively. It returns the Modifiers object representing all the modifiers that ultimately call the function in question.
Query Example
from glider import *
def query():
modifiers = Functions().with_name("onlyOwner").caller_modifiers_recursive().exec(2)
return modifiers
Example Output

Last updated