mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-17 03:20:54 +00:00
🚨 remove linter error
This commit is contained in:
@ -9,6 +9,7 @@ Quart 驱动适配
|
||||
"""
|
||||
|
||||
import asyncio
|
||||
from dataclasses import dataclass
|
||||
from typing import List, TypeVar, Callable, Coroutine, Optional
|
||||
|
||||
import uvicorn
|
||||
@ -231,6 +232,7 @@ class Driver(ReverseDriver):
|
||||
self._bot_disconnect(bot)
|
||||
|
||||
|
||||
@dataclass
|
||||
class WebSocket(BaseWebSocket):
|
||||
websocket: QuartWebSocket = None # type: ignore
|
||||
|
||||
|
Reference in New Issue
Block a user