From c76dae584e311ca08e1331092892f049df2bfb44 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Tue, 15 Jun 2021 10:08:06 +0800 Subject: [PATCH] :bug: fix quart implement --- nonebot/drivers/quart.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nonebot/drivers/quart.py b/nonebot/drivers/quart.py index d36de19d..3920cf13 100644 --- a/nonebot/drivers/quart.py +++ b/nonebot/drivers/quart.py @@ -149,7 +149,6 @@ class Driver(ReverseDriver): log_config=LOGGING_CONFIG, **kwargs) - @overrides(ReverseDriver) async def _handle_http(self, adapter: str): request: Request = _request data: bytes = await request.get_data() # type: ignore @@ -179,7 +178,6 @@ class Driver(ReverseDriver): return Response(response and response.body or "", response and response.status or 200) - @overrides(ReverseDriver) async def _handle_ws_reverse(self, adapter: str): websocket: QuartWebSocket = _websocket ws = WebSocket(websocket.http_version, websocket.scheme,