API reference

python:astx:astx.types.generic.TemplateTypeVar

class TemplateTypeVar

TemplateTypeVar(name: str, *, bound: astx.DataType)

Source: packages/astx/src/astx/types/generic.py:80

Semantic-only template type variable.

Represent one unresolved template type parameter inside function signatures or local declared types before specialization.

Attributes

Methods

Attributes

Search documentation

Type to search.