> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/enums/enums.exec.md).

# Enums.exec()

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

`exec(`*`limit_count: int = 0, offset_count: int = 0`*`) →` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Enum`](/glider-ide/api/enum.md)`]`

## Query Example

```python
from glider import *

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

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

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FGTDUxzeJSSbEbm00hES2%2FScreenshot%202025-07-25%20at%206.33.58%E2%80%AFPM.png?alt=media&amp;token=5360084e-f1f2-4c2e-b1ef-ac5702c71f6c" alt=""><figcaption></figcaption></figure>
