Closed xiaobao996 closed 2 years ago
class ReactMixin: id: int kind: int async def add_reaction(self, user_id, reaction_type): pass
请教下,代码中 id: int 和 kind: int 的作用仅仅是为了过 Mypy 吗?
id: int
kind: int
Yes.
请教下,代码中
id: int
和kind: int
的作用仅仅是为了过 Mypy 吗?