[issue39442] from __future__ import annotations makes dataclasses.Field.type a string, not type

Marco Barisione report at bugs.python.org
Fri Apr 8 05:16:17 EDT 2022


Marco Barisione <marco at barisione.org> added the comment:

Actually, sorry I realise I can pass `include_extras` to `get_type_hints`.
Still, it would be nicer not to have to do that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39442>
_______________________________________


More information about the Python-bugs-list mailing list