mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 07:28:10 +08:00
⚡️ remove unused import
This commit is contained in:
parent
cc11e2e885
commit
136b13b4cc
@ -1,15 +1,14 @@
|
|||||||
import inspect
|
import inspect
|
||||||
import json
|
import json
|
||||||
from nonebot import message
|
|
||||||
|
|
||||||
from typing import Any, List, Literal, Optional, Type, Union
|
from typing import Any, List, Literal, Optional, Type
|
||||||
from pygtrie import StringTrie
|
from pygtrie import StringTrie
|
||||||
from pydantic import BaseModel, root_validator, Field
|
from pydantic import BaseModel, root_validator, Field
|
||||||
|
|
||||||
from nonebot.adapters import Event as BaseEvent
|
from nonebot.adapters import Event as BaseEvent
|
||||||
from nonebot.typing import overrides
|
from nonebot.typing import overrides
|
||||||
|
|
||||||
from .message import Message, MessageSegment
|
from .message import Message
|
||||||
|
|
||||||
|
|
||||||
class EventHeader(BaseModel):
|
class EventHeader(BaseModel):
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import itertools
|
import itertools
|
||||||
import json
|
|
||||||
|
|
||||||
from typing import Any, Tuple, Type, Union, Mapping, Iterable
|
from typing import Tuple, Type, Union, Mapping, Iterable
|
||||||
|
|
||||||
from nonebot.adapters import Message as BaseMessage, MessageSegment as BaseMessageSegment
|
from nonebot.adapters import Message as BaseMessage, MessageSegment as BaseMessageSegment
|
||||||
from nonebot.typing import overrides
|
from nonebot.typing import overrides
|
||||||
|
Loading…
Reference in New Issue
Block a user