API reference
python:astx:astx.types.TemplateTypeVar.__init__
method __init__
__init__(name: str, *, bound: astx.DataType) -> None
Source: packages/astx/src/astx/types/generic.py:97
Declared as: python:astx:astx.types.generic.TemplateTypeVar.__init__
Initialize one template type variable.
Parameters
-
name — Type: str
-
bound — Type: astx.DataType