🚧 rewrite fastapi driver implementation

This commit is contained in:
yanyongyu
2021-12-18 23:19:37 +08:00
parent ec9e159ef6
commit ca045b2f73
3 changed files with 123 additions and 87 deletions

View File

@ -13,7 +13,7 @@ from typing import TYPE_CHECKING, Any, Set, Dict, Type, Callable, Awaitable
from nonebot.log import logger
from nonebot.utils import escape_tag
from nonebot.config import Env, Config
from ._model import URL, Request, Response, WebSocket
from ._model import URL, Request, Response, WebSocket, HTTPVersion
from nonebot.typing import T_BotConnectionHook, T_BotDisconnectionHook
if TYPE_CHECKING: