Enum.source_code()

Returns the source code of the enum.

source_code() → str

Query Example

from glider import *

def query():
    contracts = Contracts().exec(1, 95)

    for enum in contracts.enums().exec():
      print(enum.source_code())

    return []

Example Output

Last updated