Enums.exec()

Executes the formed query and returns the list of Enum objects.

exec(limit_count: int = 0, offset_count: int = 0) β†’ APIList[Enum]

Query Example

from glider import *

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

  for contract in contracts:
    for enum in contract.enums().exec():
      print(enum.name)
  
  return []

Example Output

[
  {
    "print_output": [
      "States",
      "MessageStatus"
    ]
  }
]

Last updated