# NestToKey

Subclass of [**Action**](https://utca.knowledgator.com/core/action). Type: [**Action**](https://utca.knowledgator.com/core/action)**\[Any, Dict\[str, Any]].**

## Module: [core](https://utca.knowledgator.com/framework-structure#core)

## Methods and properties

Main methods and properties

***

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

#### Arguments:

* <mark style="color:orange;">**key**</mark>**&#x20;(str):** Key to unpack (associated value should be of type Dict\[str, Any]).
* <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.

***

### <mark style="color:blue;">execute</mark>

Nest input data to specified key

#### Arguments:

* <mark style="color:orange;">**input\_data**</mark>**&#x20;(Any):** Current data.

#### Returns:

* **Dict\[str, Any]:** Updated data.

***

***
