mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-30 22:46:40 +00:00 
			
		
		
		
	🚨 re-export according to pep484
This commit is contained in:
		| @@ -12,7 +12,13 @@ CQHTTP (OneBot) v11 协议适配 | ||||
|  | ||||
| from .event import * | ||||
| from .permission import * | ||||
| from .message import Message, MessageSegment | ||||
| from .utils import log, escape, unescape, _b2s | ||||
| from .bot import Bot, _check_at_me, _check_nickname, _check_reply, _handle_api_result | ||||
| from .exception import CQHTTPAdapterException, ApiNotAvailable, ActionFailed, NetworkError | ||||
| from .bot import Bot as Bot | ||||
| from .utils import log as log | ||||
| from .utils import escape as escape | ||||
| from .message import Message as Message | ||||
| from .utils import unescape as unescape | ||||
| from .exception import ActionFailed as ActionFailed | ||||
| from .exception import NetworkError as NetworkError | ||||
| from .message import MessageSegment as MessageSegment | ||||
| from .exception import ApiNotAvailable as ApiNotAvailable | ||||
| from .exception import CQHTTPAdapterException as CQHTTPAdapterException | ||||
|   | ||||
| @@ -1,11 +1,12 @@ | ||||
| import inspect | ||||
| from typing_extensions import Literal | ||||
| from typing import Type, List, Optional, TYPE_CHECKING | ||||
| from typing import TYPE_CHECKING, List, Type, Optional | ||||
|  | ||||
| from pydantic import BaseModel | ||||
| from pygtrie import StringTrie | ||||
| from nonebot.utils import escape_tag | ||||
|  | ||||
| from nonebot.typing import overrides | ||||
| from nonebot.utils import escape_tag | ||||
| from nonebot.exception import NoLogException | ||||
| from nonebot.adapters import Event as BaseEvent | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user