API reference
python:astx:astx.context_manager.WithItem._prepare_struct
method _prepare_struct
_prepare_struct(key: str, value: DataTypesStruct, simplified: bool = False) -> dict[str, DataTypesStruct]
Source: packages/astx/src/astx/context_manager.py:58
Prepare structural representation.
Parameters
-
key โ Key selecting the entry.; Type: str
-
value โ Value to process.; Type: DataTypesStruct
-
simplified โ Whether to request the compact representation.; Type: bool
Returns
Result of this operation: prepare structural representation.; Type: dict[str, DataTypesStruct]