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