> 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/callable/callable.local_variables.md).

# Callable.local\_variables()

`local_variables() →` [`LocalVariables`](/glider-ide/api/localvariables.md)

## Query Example

```python
from glider import *

def query():
    functions = Functions().exec(1, 100)

    for function in functions:
        for local_var in function.local_variables().list():
            print(local_var.name)

    return functions
```

## Output Example

<figure><img src="/files/7RhHpIQuLbSR0dEs7AQu" alt=""><figcaption></figcaption></figure>
