On Thu, 16 Jul 2020 at 15:17, Guido van Rossum <guido@python.org> wrote:Perhaps you can pass the locals dict to get_type_hints()?locals would probably the right options, but unfortunately I don't have access to the locals wherethe type was defined, as I'd need to call get_type_hints from another function.Maybe I'm missing something obvious?