Ivan Levkivskyi <levkivs...@gmail.com> added the comment:
> I was thinking that similarly to __required_keys__ and __optional_keys__, the > TypedDict could preserve its original bases in a new dunder attribute, and > get_type_hints could work off of that instead of MRO when it is dealing with > a TypedDict. I would be willing to contribute the PRs to implement this if > the design is acceptable TBH this is not very elegant, but I think you can go ahead with this (at least as a quick fix) since I don't see a better solution yet. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41249> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com