LocalVariable.source_code()

Returns the source code of the local variable.

source_code() → str

Query Example

from glider import *


def query():
  functions = (
    Functions()
    .with_name("communityMint")
    .exec(1)
  )

  for func in functions:
    local_vars = func.local_variables().list()
    for local_var in local_vars:
      print(local_var.source_code())

  return functions

Example Output

Last updated