# Enums.exec()

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

## 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&#x26;token=5360084e-f1f2-4c2e-b1ef-ac5702c71f6c" alt=""><figcaption></figcaption></figure>
