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:63
Prepare structural representation.
Parameters
-
key โ Type: str
-
value โ Type: DataTypesStruct
-
simplified โ Type: bool
Returns
Type: dict[str, DataTypesStruct]