> 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/variables/localvariables/localvariable/localvariable.get_parent.md).

# LocalVariable.get\_parent()

`get_parent() →` [`Callable`](/glider-ide/api/callable.md)

## Query Example

```python
from glider import *


def query():
  functions = (
    Functions()
    .with_name("communityMint")
    .exec(1)
  )

  for func in functions:
    local_vars = func.local_variables().list()
    for local_var in local_vars:
      print(local_var.get_parent())

  return functions
```

## Example Output

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