> 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/core/baseexecutor.md).

# BaseExecutor

Base wrapper for components

Subclass of [**Component**](/core/component.md)**.** Used for context of execution of Components

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

## Methods and properties

Main methods and properties

***

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

#### Arguments:

* <mark style="color:orange;">**component**</mark>**&#x20;(**[**ExecutorComponent**](/core/schemas.md#executorcomponent)**):** Wrapped component.
* <mark style="color:orange;">**get\_key**</mark>**&#x20;(Optional\[str], optional):** Which key value of input\_data will be used. If value equal to None, root dict will be used. Defaults to None.
* <mark style="color:orange;">**set\_key**</mark>**&#x20;(Optional\[str], optional):** Which key will be used to set result value. If set\_key value equal to None: \
  \- if result of type Dict\[str, Any], update root dict; \
  \- else, set result to default\_key.\
  Defaults to None.
* <mark style="color:orange;">**default\_key**</mark>**&#x20;(str, optional):** Default key used for results that is not of type Dict. Defaults to "output".
* <mark style="color:orange;">**replace**</mark>**&#x20;(**[**ReplacingScope**](/core/schemas.md#replacingscope)**, optional):** Replacing strategy for executor. Defaults to [**ReplacingScope**](/core/schemas.md#replacingscope)**.**[**INPLACE**](/core/schemas.md#inplace).

***

***
