API reference
python:astx:astx.DictType
class DictType
DictType(key_type: ExprType, value_type: ExprType)
Source: packages/astx/src/astx/types/collections.py:155
Declared as: python:astx:astx.types.collections.DictType
Dictionary data type expression.
Attributes
-
key_type — Type: ExprType
-
value_type — Type: ExprType
Methods
-
__init__ — Initialize DictType with key-value types.
-
__str__ — Return string representation of DictType.
Attributes
-
key_type —