> For the complete documentation index, see [llms.txt](https://utca.knowledgator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://utca.knowledgator.com/structural-components/foreach.md).

# ForEach

Execution for each item in data series

Subclass of [**Component**](/core/component.md).

## Module: [core](/framework-structure.md#core)

## Methods and properties

Main methods and properties

***

### <mark style="color:blue;">\_\_init\_\_</mark>

#### Arguments:

* <mark style="color:orange;">**schema**</mark>**&#x20;(**[**Component**](/core/component.md)**):** Component that will be executed.
* <mark style="color:orange;">**get\_key**</mark>**&#x20;(str):** Key associated with series of data items.
* <mark style="color:orange;">**set\_key**</mark>**&#x20;(Optional\[str], optional):** Data destination. If equals to None, get\_key will be used. Defaults to None.
* <mark style="color:orange;">**name**</mark>**&#x20;(Optional\[str], optional):** Name for identification. If equals to None, class name will be used. Defaults to None.

***

***
