> 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/variable/variable.canonical_name.md).

# Variable.canonical\_name

Returns the canonical name of the variable.

`property canonical_name: str`

## Query Example

```python
from glider import *

def query():

  state_variables = (
    StateVariables()
    .exec(5)
  )

  print(state_variables[0].canonical_name)

  return state_variables
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F8zsjaxpCgKLeCXo05OlR%2Fimage.png?alt=media&amp;token=02eb6e96-f88d-47b2-93c4-ca5c21b6db47" alt=""><figcaption></figcaption></figure>
