How do I type hint a method with the type of the enclosing class? How do I type hint a method with the type of the enclosing class? python-3.x python-3.x