> 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()

Returns a LocalVariables object for the local variables of the function/modifier.

`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="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2Fa47F1gjdCZRn5IS6hRgS%2Fimage.png?alt=media&amp;token=c4b7bd0c-155f-4ae3-b171-15c315e2e909" alt=""><figcaption></figcaption></figure>
