> 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_name_not.md).

# Contracts.with\_name\_not()

Adds a filter to get contracts that don't have the given name.

`with_name_not(name: str, sensitivity: bool = True) →` [`Contracts`](/glider-ide/api/contracts.md)

## Query Example

```python
from glider import *

def query():
  contracts = Contracts().with_name_not("Ownable").exec(10)
  return contracts
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FKE6ew8uc3oHfK6e4LZsc%2Fimage.png?alt=media&amp;token=194ffca7-4b22-47ed-b1aa-301afb2d374a" alt=""><figcaption></figcaption></figure>
