♻️ reorganize internal tree

This commit is contained in:
yanyongyu
2022-02-06 17:08:11 +08:00
parent 65dc9a908b
commit 118519e15d
16 changed files with 52 additions and 25 deletions

View File

@ -7,19 +7,19 @@ FrontMatter:
description: nonebot.drivers 模块
"""
from nonebot.internal.model import URL as URL
from nonebot.internal.driver import URL as URL
from nonebot.internal.driver import Driver as Driver
from nonebot.internal.model import Cookies as Cookies
from nonebot.internal.model import Request as Request
from nonebot.internal.model import Response as Response
from nonebot.internal.model import WebSocket as WebSocket
from nonebot.internal.model import HTTPVersion as HTTPVersion
from nonebot.internal.driver import Cookies as Cookies
from nonebot.internal.driver import Request as Request
from nonebot.internal.driver import Response as Response
from nonebot.internal.driver import WebSocket as WebSocket
from nonebot.internal.driver import HTTPVersion as HTTPVersion
from nonebot.internal.driver import ForwardMixin as ForwardMixin
from nonebot.internal.driver import ForwardDriver as ForwardDriver
from nonebot.internal.driver import ReverseDriver as ReverseDriver
from nonebot.internal.driver import combine_driver as combine_driver
from nonebot.internal.model import HTTPServerSetup as HTTPServerSetup
from nonebot.internal.model import WebSocketServerSetup as WebSocketServerSetup
from nonebot.internal.driver import HTTPServerSetup as HTTPServerSetup
from nonebot.internal.driver import WebSocketServerSetup as WebSocketServerSetup
__autodoc__ = {
"URL": True,

View File

@ -21,8 +21,8 @@ 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.internal.driver import FileTypes
from nonebot.config import Config as NoneBotConfig
from nonebot.drivers import Request as BaseRequest
from nonebot.drivers import WebSocket as BaseWebSocket

View File

@ -24,8 +24,8 @@ from pydantic import BaseSettings
from nonebot.config import Env
from nonebot.typing import overrides
from nonebot.internal.model import FileTypes
from nonebot.exception import WebSocketClosed
from nonebot.internal.driver import FileTypes
from nonebot.config import Config as NoneBotConfig
from nonebot.drivers import Request as BaseRequest
from nonebot.drivers import WebSocket as BaseWebSocket