Before you dive in, here is my question: how can I use type hints in a subclass to specify a different type on an instance attribute?
If you are unclear on what that means, read below, where I have drawn up an example to clarify things.
Full Explanation
I have an abstract class Foo, and a subclass of Foo called SubclassOfFoo.
Foo has an abstract method get_something that returns an object of type Something.
Something has a …