How to structure subclasses with mypy for typing

前端 未结 0 635
一整个雨季
一整个雨季 2021-01-31 23:32

Say I already have a file with a class that is correctly typed:

#main.py

class Runner(object):
    ...
    def operation(self, arg: str) -> Runner:
        se         


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