mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Reformat code
This commit is contained in:
parent
972eeafce5
commit
895f4f8dce
4 changed files with 6 additions and 6 deletions
|
|
@ -10,7 +10,6 @@ from .base import TelegramObject
|
|||
from .custom import DateTime
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .input_poll_option import InputPollOption
|
||||
from ..methods import (
|
||||
ApproveChatJoinRequest,
|
||||
DeclineChatJoinRequest,
|
||||
|
|
@ -41,6 +40,7 @@ if TYPE_CHECKING:
|
|||
from .input_media_document import InputMediaDocument
|
||||
from .input_media_photo import InputMediaPhoto
|
||||
from .input_media_video import InputMediaVideo
|
||||
from .input_poll_option import InputPollOption
|
||||
from .labeled_price import LabeledPrice
|
||||
from .link_preview_options import LinkPreviewOptions
|
||||
from .message_entity import MessageEntity
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ from .base import TelegramObject
|
|||
from .custom import DateTime
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .input_poll_option import InputPollOption
|
||||
from ..methods import (
|
||||
SendAnimation,
|
||||
SendAudio,
|
||||
|
|
@ -45,6 +44,7 @@ if TYPE_CHECKING:
|
|||
from .input_media_document import InputMediaDocument
|
||||
from .input_media_photo import InputMediaPhoto
|
||||
from .input_media_video import InputMediaVideo
|
||||
from .input_poll_option import InputPollOption
|
||||
from .labeled_price import LabeledPrice
|
||||
from .link_preview_options import LinkPreviewOptions
|
||||
from .message_entity import MessageEntity
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ from __future__ import annotations
|
|||
|
||||
from typing import TYPE_CHECKING, Any, List, Optional, Union
|
||||
|
||||
from .base import TelegramObject
|
||||
from ..client.default import Default
|
||||
from .base import TelegramObject
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .message_entity import MessageEntity
|
||||
|
|
|
|||
|
|
@ -40,7 +40,10 @@ from aiogram.types import (
|
|||
UNSET_PARSE_MODE,
|
||||
Animation,
|
||||
Audio,
|
||||
BackgroundFillSolid,
|
||||
BackgroundTypeFill,
|
||||
Chat,
|
||||
ChatBackground,
|
||||
ChatBoostAdded,
|
||||
ChatShared,
|
||||
Contact,
|
||||
|
|
@ -88,9 +91,6 @@ from aiogram.types import (
|
|||
Voice,
|
||||
WebAppData,
|
||||
WriteAccessAllowed,
|
||||
ChatBackground,
|
||||
BackgroundTypeFill,
|
||||
BackgroundFillSolid,
|
||||
)
|
||||
from aiogram.types.message import ContentType, Message
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue