In order to prevent unseemly types from showing up, consider using:
https://peps.python.org/pep-0646/#overloads-for-accessing-individual-types
this would require a merging of type members.
Somewhat difficult, but worth doing to get rid of un-importable generic types.