mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Shut up, linters (Fixed errors)
This commit is contained in:
parent
505284e18b
commit
968c478390
4 changed files with 9 additions and 10 deletions
|
|
@ -1,9 +1,8 @@
|
|||
from contextlib import suppress
|
||||
|
||||
from aiogram.dispatcher.flags import FlagGenerator
|
||||
from . import methods
|
||||
from . import types
|
||||
from . import enums
|
||||
|
||||
from . import enums, methods, types
|
||||
from .client import session
|
||||
from .client.bot import Bot
|
||||
from .dispatcher.dispatcher import Dispatcher
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING, Any, Dict, Union, Optional
|
||||
from typing import TYPE_CHECKING, Any, Dict, Optional, Union
|
||||
|
||||
from ..types import ChatPermissions
|
||||
from .base import Request, TelegramMethod
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ from .chat_member_restricted import ChatMemberRestricted
|
|||
from .chat_member_updated import ChatMemberUpdated
|
||||
from .chat_permissions import ChatPermissions
|
||||
from .chat_photo import ChatPhoto
|
||||
from .chat_shared import ChatShared
|
||||
from .chosen_inline_result import ChosenInlineResult
|
||||
from .contact import Contact
|
||||
from .dice import Dice
|
||||
|
|
@ -90,6 +91,8 @@ from .input_venue_message_content import InputVenueMessageContent
|
|||
from .invoice import Invoice
|
||||
from .keyboard_button import KeyboardButton
|
||||
from .keyboard_button_poll_type import KeyboardButtonPollType
|
||||
from .keyboard_button_request_chat import KeyboardButtonRequestChat
|
||||
from .keyboard_button_request_user import KeyboardButtonRequestUser
|
||||
from .labeled_price import LabeledPrice
|
||||
from .location import Location
|
||||
from .login_url import LoginUrl
|
||||
|
|
@ -136,6 +139,7 @@ from .successful_payment import SuccessfulPayment
|
|||
from .update import Update
|
||||
from .user import User
|
||||
from .user_profile_photos import UserProfilePhotos
|
||||
from .user_shared import UserShared
|
||||
from .venue import Venue
|
||||
from .video import Video
|
||||
from .video_chat_ended import VideoChatEnded
|
||||
|
|
@ -148,10 +152,6 @@ from .web_app_data import WebAppData
|
|||
from .web_app_info import WebAppInfo
|
||||
from .webhook_info import WebhookInfo
|
||||
from .write_access_allowed import WriteAccessAllowed
|
||||
from .chat_shared import ChatShared
|
||||
from .keyboard_button_request_chat import KeyboardButtonRequestChat
|
||||
from .keyboard_button_request_user import KeyboardButtonRequestUser
|
||||
from .user_shared import UserShared
|
||||
|
||||
__all__ = (
|
||||
"Animation",
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ if TYPE_CHECKING:
|
|||
from .animation import Animation
|
||||
from .audio import Audio
|
||||
from .chat import Chat
|
||||
from .chat_shared import ChatShared
|
||||
from .contact import Contact
|
||||
from .dice import Dice
|
||||
from .document import Document
|
||||
|
|
@ -80,6 +81,7 @@ if TYPE_CHECKING:
|
|||
from .sticker import Sticker
|
||||
from .successful_payment import SuccessfulPayment
|
||||
from .user import User
|
||||
from .user_shared import UserShared
|
||||
from .venue import Venue
|
||||
from .video import Video
|
||||
from .video_chat_ended import VideoChatEnded
|
||||
|
|
@ -90,8 +92,6 @@ if TYPE_CHECKING:
|
|||
from .voice import Voice
|
||||
from .web_app_data import WebAppData
|
||||
from .write_access_allowed import WriteAccessAllowed
|
||||
from .chat_shared import ChatShared
|
||||
from .user_shared import UserShared
|
||||
|
||||
|
||||
class Message(TelegramObject):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue