> 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/argument/argument.get_variable.md).

# Argument.get\_variable()

Returns the Variable representing the argument.

`get_variable() ->` [`Variable`](/glider-ide/api/variable.md)

## Example Query

```python
from glider import *


def query():
    func = Contracts().non_interface_contracts().functions().with_arg_count(1).exec(1, 1)[0]
    
    print(func.arguments().list()[0].get_variable())

    return []
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FOm0pFUaul3bgBGfZ8oK0%2FScreenshot%202025-07-23%20at%2012.56.50%E2%80%AFPM.png?alt=media&amp;token=10bcc0f5-09b8-4407-aade-3319438df20a" alt=""><figcaption></figcaption></figure>
