change typing manage

This commit is contained in:
yanyongyu
2020-08-07 17:05:08 +08:00
parent 950dbb1115
commit f2b6f08599
12 changed files with 20 additions and 13 deletions

View File

@ -3,9 +3,9 @@
import abc
from functools import reduce
from typing import Dict, Union, Iterable, Optional
from nonebot.config import Config
from nonebot.typing import Dict, Union, Iterable, Optional
class BaseBot(abc.ABC):

View File

@ -2,7 +2,6 @@
# -*- coding: utf-8 -*-
import re
from typing import Tuple, Iterable, Optional
import httpx
@ -11,6 +10,7 @@ from nonebot.config import Config
from nonebot.message import handle_event
from nonebot.drivers import BaseWebSocket
from nonebot.exception import ApiNotAvailable
from nonebot.typing import Tuple, Iterable, Optional
from nonebot.adapters import BaseBot, BaseMessage, BaseMessageSegment