The _field_types attribute on each concrete class is a dictionary mapping field names (as also listed in _fields) to their types.
>>> ast.TypeVar._field_types {'name': <class 'str'>, 'bound': ast.expr | None, 'default_value': ast.expr | None}
ast/AST._field_types
AST._field_types