AliasEntry¶
- class AliasEntry(annotation: Any, alias_str: str)[source]¶
Bases:
NamedTupleA pairing of a live annotation object with its stub alias string.
Examples
>>> entry = AliasEntry(annotation=str | float | int, alias_str="types.Length") >>> entry.alias_str 'types.Length'
See also
Public API reference — overview of all public names.