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