How can I use MyPy to overload the __init__ method to adjust a getter's return value?

后端 未结 0 1530
一个人的身影
一个人的身影 2021-01-23 06:44

Let\'s say I have a class like this (pseudo-code, please ignore the odd db structure):

class Blog():
    title = StringProperty()
    comments = StringProperty(re         


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