# Instruction.get\_components()

`get_components() →` [`APIList`](https://glide.gitbook.io/main/glider-ide/api/iterables/apilist)`[`[`Value`](https://glide.gitbook.io/main/glider-ide/api/value) `|` [`NoneObject`](https://glide.gitbook.io/main/glider-ide/api/internal/noneobject)`]`

## Query Example

```python
from glider import *

def query():
    instructions = Instructions().exec(1,10)
    for inst in instructions:
        for component in inst.get_components():
            print(component.expression)

    return instructions
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FNuVDwbQBVFdt3WzkqmiN%2Fimage.png?alt=media&#x26;token=a0baf322-d90f-42dd-a9c5-4c617b240f72" alt=""><figcaption></figcaption></figure>
