From 57a60ae45b3b4f26d5715bb2a20ddbde1bc0a277 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Fri, 13 Aug 2021 00:20:41 +0800 Subject: [PATCH] :label: add missing type hint --- nonebot/drivers/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/drivers/__init__.py b/nonebot/drivers/__init__.py index c3806ec8..144870cd 100644 --- a/nonebot/drivers/__init__.py +++ b/nonebot/drivers/__init__.py @@ -347,7 +347,7 @@ class WebSocket(HTTPConnection, abc.ABC): @property @abc.abstractmethod - def closed(self): + def closed(self) -> bool: """ :类型: ``bool`` :说明: 连接是否已经关闭