mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-22 02:25:56 +08:00
🎨 remove unused imports
This commit is contained in:
parent
4f7a033b9c
commit
6cb9fda53a
@ -10,8 +10,7 @@ Quart 驱动适配
|
|||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
from json.decoder import JSONDecodeError
|
from json.decoder import JSONDecodeError
|
||||||
from typing import (TYPE_CHECKING, Any, Callable, Coroutine, Dict, Optional,
|
from typing import Any, Callable, Coroutine, Dict, Optional, Type, TypeVar
|
||||||
Type, TypeVar)
|
|
||||||
|
|
||||||
import uvicorn
|
import uvicorn
|
||||||
|
|
||||||
@ -23,8 +22,6 @@ from nonebot.exception import RequestDenied
|
|||||||
from nonebot.log import logger
|
from nonebot.log import logger
|
||||||
from nonebot.typing import overrides
|
from nonebot.typing import overrides
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from nonebot.adapters import Bot
|
|
||||||
try:
|
try:
|
||||||
from quart import Quart, Request, Response
|
from quart import Quart, Request, Response
|
||||||
from quart import Websocket as QuartWebSocket
|
from quart import Websocket as QuartWebSocket
|
||||||
|
Loading…
x
Reference in New Issue
Block a user