⚗️ add proxy support

This commit is contained in:
yanyongyu
2021-12-25 14:04:53 +08:00
parent e62ce93011
commit 188eb110c5
4 changed files with 16 additions and 5 deletions

View File

@ -28,7 +28,9 @@ try:
from quart.datastructures import FileStorage
from quart import Websocket as QuartWebSocket
except ImportError:
raise ValueError("Please install Quart by using `pip install nonebot2[quart]`")
raise ValueError(
"Please install Quart by using `pip install nonebot2[quart]`"
) from None
_AsyncCallable = TypeVar("_AsyncCallable", bound=Callable[..., Coroutine])