> 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/instruction/instruction.get_components.md).

# Instruction.get\_components()

`get_components() →` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Value`](/glider-ide/api/value.md) `|` [`NoneObject`](/glider-ide/api/internal/noneobject.md)`]`

## 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="/files/vDfXS0EuZQuaP1fjh7f7" alt=""><figcaption></figcaption></figure>
