How do I type hint a method with the type of the enclosing class and update that with inheritance?

后端 未结 0 1707
没有蜡笔的小新
没有蜡笔的小新 2021-01-15 09:00

Similar but different to How do I type hint a method with the type of the enclosing class?.

How can I set something on the parent class so that a type hint gets updat

相关标签:
回答
  • 消灭零回复
提交回复
热议问题