Schemas

Types and structures

Module: core



Transformable

Data manager class


__init__

Arguments:

  • state (Optional[Dict[str, Any]], optional): Data to wrapp. Defaults to None.


extract

Unpack data from this class

Returns:

  • Dict[str, Any]: Data packed in the class


update

Add data

Arguments:

  • data (Dict[str, Any]): Data to add


flush

Remove all data


get

Get value by identifier or return default value.

Arguments:

  • key (str): Item key.

  • default (Any): Return this value if not exist. Defaults to None.


__getitem__

Simple indexing

Arguments:

  • key (str): Item key.




Input

Type variable for inputs




Output

Type variable for outputs




Config

Base config class




ExecutorComponent

Type variable for executor wrapped component




ValidationClass

Type variable for validation classes




ActionInput

Type variable for action input




ActionOutput

Type variable for action output




IOModel

Base class for inout and output validation classes


generate_transformable

Returns:


extract

Unpack validated data from this class

Returns:

  • Dict[str, Any]: Data packed in the class.




ReplacingScope


INPLACE

Rewrite only keys in specified scope


LOCAL

Rewrite only specified scope


GLOBAL

Rewrite data completely



Last updated