Returns the arguments of the call, or empty array if the call has no arguments.
get_args() -> APIList[Union[Value, NoneObject]]
get_args() ->
APIList
[Union[
Value
,
NoneObject
]]
from glider import * def query(): instructions = ( Instructions() .exec(100) .filter(lambda x: x.is_call()) ) for ins in instructions: call = ins.get_value() if isinstance(call, Call): print(call.get_args().expression) return instructions
Last updated 2 months ago