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:85
Declared as: python:astx:astx.types.generic.TemplateTypeVar.__init__
Initialize one template type variable.
Parameters
-
name — Name identifying the declaration or operation.; Type: str
-
bound — Names bound in the function scope.; Type: astx.DataType
Returns
Type: None