( values: typing.Dict[str, typing.Any] = <factory> kwargs_mapping: typing.Dict[str, typing.List[str]] = <factory> )
PipelineState stores the state of a pipeline. It is used to pass data between pipeline blocks.
( keys: typing.Union[str, typing.List[str]] default: typing.Any = None ) → Union[Any, Dict[str, Any]]
Get one or multiple values from the pipeline state.
( kwargs_type: str ) → Dict[str, Any]
Get all values with matching kwargs_type.
( key: str value: typing.Any kwargs_type: str = None )
Add a value to the pipeline state.
Convert PipelineState to a dictionary.
Container for block state data with attribute access and formatted representation.
( ) → Dict[str, Any]
Returns
Dict[str, Any]
Dictionary containing all attributes of the BlockState
Convert BlockState to a dictionary.