mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update tests and small refactoring
This commit is contained in:
parent
65331e1fda
commit
7dc2a0ddaf
10 changed files with 18 additions and 15 deletions
|
|
@ -1,4 +1,5 @@
|
|||
from .api import methods, session, types
|
||||
from .api import methods, types
|
||||
from .api.client import session
|
||||
from .api.client.bot import Bot
|
||||
|
||||
__all__ = ["__api_version__", "__version__", "types", "methods", "Bot", "session"]
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ from typing import TypeVar
|
|||
|
||||
from ...utils.mixins import ContextInstanceMixin
|
||||
from ..methods import TelegramMethod
|
||||
from ..session.aiohttp import AiohttpSession
|
||||
from ..session.base import BaseSession
|
||||
from aiogram.api.client.session.aiohttp import AiohttpSession
|
||||
from aiogram.api.client.session.base import BaseSession
|
||||
|
||||
T = TypeVar("T")
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ from typing import Callable, Optional, TypeVar, cast
|
|||
|
||||
from aiohttp import ClientSession, FormData
|
||||
|
||||
from ..methods import Request, TelegramMethod
|
||||
from aiogram.api.methods import Request, TelegramMethod
|
||||
from .base import PRODUCTION, BaseSession, TelegramAPIServer
|
||||
|
||||
T = TypeVar("T")
|
||||
Loading…
Add table
Add a link
Reference in a new issue