mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-17 16:20:05 +08:00
🏷️ add missing type hint
This commit is contained in:
parent
e7f5097e17
commit
57a60ae45b
@ -347,7 +347,7 @@ class WebSocket(HTTPConnection, abc.ABC):
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def closed(self):
|
||||
def closed(self) -> bool:
|
||||
"""
|
||||
:类型: ``bool``
|
||||
:说明: 连接是否已经关闭
|
||||
|
Loading…
x
Reference in New Issue
Block a user