Fix get_type_hints() failure on @dataclass hierarchies in different modules.
get_type_hints()
@dataclass