> 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/callables/callables.with_signatures.md).

# Callables.with\_signatures()

`with_signatures(`*`signatures: List[str]`*`) →` [`Callables`](/glider-ide/api/callables.md)

Adds a filter to get callables that have any of the given signatures. Returns a filtered [Callables](/glider-ide/api/callables.md) child object. This method can be called on all [Callables](/glider-ide/api/callables.md) child classes: [Functions](/glider-ide/api/functions.md) and [Modifiers](/glider-ide/api/modifiers.md).

To filter given a single signature, refer to [Callables.with\_signature()](/glider-ide/api/callables/callables.with_signature.md).

### Functions Example

```python
from glider import *

def query():
  # Retrieve all functions that have `approve(address)` or `claim(address,uint256)` as signatures
  functions = Functions() \
      .with_signatures([
          "approve(address)",
          "claim(address,uint256)"
      ]) \
      .exec(100)

  # Return the first five functions
  return functions[:5]
```

Output:

<figure><img src="/files/RCYcCIN3nfJkclFVDWyi" alt=""><figcaption></figcaption></figure>

### Modifiers Example

```python
from glider import *

def query():
  # Retrieve all the modifiers that have `nonReentrant()` or `initializer()` as their signatures
  modifiers = Modifiers() \
    .with_signatures([
      "nonReentrant()",
      "initializer()"
    ]) \
    .exec(100)

  # Return the first five modifiers
  return modifiers[:5]
```

Output:

<figure><img src="/files/dsRn9NRqsOKmtWI07JyO" alt=""><figcaption></figcaption></figure>
