Callable.try_instructions()

Returns try instructions of the function/modifier.

try_instructions() → Instructions

Example

from glider import *
def query():
  functions = Functions().exec(1000)

  try_instructions = []
  for function in functions:
    for instruction in function.try_instructions().exec():
      # Return the try instructions for each function
      try_instructions.append(instruction)

  return try_instructions

Example output

Last updated