✏️ fix changelog and typing

This commit is contained in:
yanyongyu
2022-02-06 15:24:41 +08:00
parent fd11e2696b
commit 924d9b6536
6 changed files with 71 additions and 74 deletions

View File

@ -21,14 +21,13 @@ from starlette.websockets import WebSocket, WebSocketState, WebSocketDisconnect
from nonebot.config import Env
from nonebot.typing import overrides
from nonebot.internal.model import FileTypes
from nonebot.exception import WebSocketClosed
from nonebot.config import Config as NoneBotConfig
from nonebot.drivers import Request as BaseRequest
from nonebot.drivers import WebSocket as BaseWebSocket
from nonebot.drivers import ReverseDriver, HTTPServerSetup, WebSocketServerSetup
from ..internal.model import FileTypes
def catch_closed(func):
@wraps(func)