@patrick you want the parameterized generic instance Example[str] to be “inferred” by the tools? I don’t think this is ever likely to be implemented. It’s a long stretch.
I think this is why dataclasses generate code rather than demand this amount of reasoning from the type checkers.