Does anyone know how if in #Python it is possible to define a generic class that infers the type of the generic from an attribute?
Something like this:
```
T = TypeVar("T")
class Example(Generic[T]):
Config: type[T]
configuration: T
class SubExample(Example):
Config = str
reveal_type(SubExample().configuration)
```
currently Pylance and Mypy complain about Example not being passed the TypeVar, I wonder if there's a different way to achieve this 👀