diff --git a/nonebot/message.py b/nonebot/message.py index fb860a96b583..cc2268753fd9 100644 --- a/nonebot/message.py +++ b/nonebot/message.py @@ -7,7 +7,7 @@ import asyncio from datetime import datetime -from typing import Set, Type, Optional, Iterable, TYPE_CHECKING +from typing import Set, Type, TYPE_CHECKING from nonebot.log import logger from nonebot.rule import TrieRule diff --git a/nonebot/plugin.py b/nonebot/plugin.py index d9bb3913dcc2..e66672cde89c 100644 --- a/nonebot/plugin.py +++ b/nonebot/plugin.py @@ -13,7 +13,7 @@ from dataclasses import dataclass from importlib._bootstrap import _load from contextvars import Context, ContextVar, copy_context -from typing import Any, Set, List, Dict, Type, Tuple, Union, Optional, Iterable, TYPE_CHECKING +from typing import Any, Set, List, Dict, Type, Tuple, Union, Optional, TYPE_CHECKING from nonebot.log import logger from nonebot.matcher import Matcher