Python Type Hinting: Subclass not compatible with generic

welcome to shbcf.ru