> 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/contracts/contracts.with_compiler_range_not.md).

# Contracts.with\_compiler\_range\_not()

Adds a filter to get contracts whose compilation version isn't in the given range.

`with_compiler_range_not(lower_bound: str, upper_bound: str) ->` [`Contracts`](/glider-ide/api/contracts.md)

## Query Example

```python
from glider import *

def query():
  contracts = Contracts().with_compiler_range_not("0.8.0", "0.8.11").exec(3)

  for contract in contracts:
    print(contract.pragmas())

  return contracts
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FeVKc9MiO5PmAywdWXAlZ%2Fimage.png?alt=media&amp;token=5c18f451-a30f-4a1f-bb1c-b027ed2c46c2" alt=""><figcaption></figcaption></figure>
