API reference
python:astx:astx.types.DictType.__init__
method __init__
__init__(key_type: ExprType, value_type: ExprType) -> None
Source: packages/astx/src/astx/types/collections.py:170
Declared as: python:astx:astx.types.collections.DictType.__init__
Initialize DictType with key-value types.
Parameters
-
key_type — Type: ExprType
-
value_type — Type: ExprType