diff --git a/aiogram/api/client/session/aiohttp.py b/aiogram/api/client/session/aiohttp.py index 53def8f2..1fda8bbf 100644 --- a/aiogram/api/client/session/aiohttp.py +++ b/aiogram/api/client/session/aiohttp.py @@ -21,7 +21,7 @@ from aiogram.api.methods import Request, TelegramMethod from .base import BaseSession -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..bot import Bot T = TypeVar("T") diff --git a/aiogram/api/client/session/base.py b/aiogram/api/client/session/base.py index 69b534f7..d1249733 100644 --- a/aiogram/api/client/session/base.py +++ b/aiogram/api/client/session/base.py @@ -23,7 +23,7 @@ from ...methods import Response, TelegramMethod from ...types import UNSET from ..telegram import PRODUCTION, TelegramAPIServer -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..bot import Bot T = TypeVar("T") diff --git a/aiogram/api/methods/add_sticker_to_set.py b/aiogram/api/methods/add_sticker_to_set.py index da4bcd12..735371e4 100644 --- a/aiogram/api/methods/add_sticker_to_set.py +++ b/aiogram/api/methods/add_sticker_to_set.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import InputFile, MaskPosition from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/answer_callback_query.py b/aiogram/api/methods/answer_callback_query.py index 0bbb9b3c..1f407c70 100644 --- a/aiogram/api/methods/answer_callback_query.py +++ b/aiogram/api/methods/answer_callback_query.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/answer_inline_query.py b/aiogram/api/methods/answer_inline_query.py index 8f61351d..c5c2709d 100644 --- a/aiogram/api/methods/answer_inline_query.py +++ b/aiogram/api/methods/answer_inline_query.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional from ..types import InlineQueryResult from .base import Request, TelegramMethod, prepare_parse_mode -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/answer_pre_checkout_query.py b/aiogram/api/methods/answer_pre_checkout_query.py index 1370c7b9..8ffae74e 100644 --- a/aiogram/api/methods/answer_pre_checkout_query.py +++ b/aiogram/api/methods/answer_pre_checkout_query.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/answer_shipping_query.py b/aiogram/api/methods/answer_shipping_query.py index 708adb54..da79adb5 100644 --- a/aiogram/api/methods/answer_shipping_query.py +++ b/aiogram/api/methods/answer_shipping_query.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional from ..types import ShippingOption from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/create_new_sticker_set.py b/aiogram/api/methods/create_new_sticker_set.py index 86c843df..e6a222ae 100644 --- a/aiogram/api/methods/create_new_sticker_set.py +++ b/aiogram/api/methods/create_new_sticker_set.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import InputFile, MaskPosition from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/delete_chat_photo.py b/aiogram/api/methods/delete_chat_photo.py index 3d98b8c8..8be35986 100644 --- a/aiogram/api/methods/delete_chat_photo.py +++ b/aiogram/api/methods/delete_chat_photo.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/delete_chat_sticker_set.py b/aiogram/api/methods/delete_chat_sticker_set.py index 0247503b..14801ec4 100644 --- a/aiogram/api/methods/delete_chat_sticker_set.py +++ b/aiogram/api/methods/delete_chat_sticker_set.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/delete_message.py b/aiogram/api/methods/delete_message.py index a584c496..da0edce1 100644 --- a/aiogram/api/methods/delete_message.py +++ b/aiogram/api/methods/delete_message.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/delete_sticker_from_set.py b/aiogram/api/methods/delete_sticker_from_set.py index 6552c20a..30ac3d4b 100644 --- a/aiogram/api/methods/delete_sticker_from_set.py +++ b/aiogram/api/methods/delete_sticker_from_set.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/delete_webhook.py b/aiogram/api/methods/delete_webhook.py index a0033407..9242a634 100644 --- a/aiogram/api/methods/delete_webhook.py +++ b/aiogram/api/methods/delete_webhook.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/edit_message_caption.py b/aiogram/api/methods/edit_message_caption.py index 4c506344..3359c45f 100644 --- a/aiogram/api/methods/edit_message_caption.py +++ b/aiogram/api/methods/edit_message_caption.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import UNSET, InlineKeyboardMarkup, Message from .base import Request, TelegramMethod, prepare_parse_mode -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/edit_message_live_location.py b/aiogram/api/methods/edit_message_live_location.py index dde98984..ddd95d74 100644 --- a/aiogram/api/methods/edit_message_live_location.py +++ b/aiogram/api/methods/edit_message_live_location.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import InlineKeyboardMarkup, Message from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/edit_message_media.py b/aiogram/api/methods/edit_message_media.py index 1e62a585..db8e344f 100644 --- a/aiogram/api/methods/edit_message_media.py +++ b/aiogram/api/methods/edit_message_media.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import InlineKeyboardMarkup, InputFile, InputMedia, Message from .base import Request, TelegramMethod, prepare_media_file, prepare_parse_mode -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/edit_message_reply_markup.py b/aiogram/api/methods/edit_message_reply_markup.py index e9a14c2c..b9973e40 100644 --- a/aiogram/api/methods/edit_message_reply_markup.py +++ b/aiogram/api/methods/edit_message_reply_markup.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import InlineKeyboardMarkup, Message from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/edit_message_text.py b/aiogram/api/methods/edit_message_text.py index 49af2cb2..d30fc82e 100644 --- a/aiogram/api/methods/edit_message_text.py +++ b/aiogram/api/methods/edit_message_text.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import UNSET, InlineKeyboardMarkup, Message from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/export_chat_invite_link.py b/aiogram/api/methods/export_chat_invite_link.py index 6398ab2f..b77b01a5 100644 --- a/aiogram/api/methods/export_chat_invite_link.py +++ b/aiogram/api/methods/export_chat_invite_link.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/forward_message.py b/aiogram/api/methods/forward_message.py index 7ecab18a..06f19956 100644 --- a/aiogram/api/methods/forward_message.py +++ b/aiogram/api/methods/forward_message.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import Message from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_chat.py b/aiogram/api/methods/get_chat.py index 6b6f33ae..6131c00d 100644 --- a/aiogram/api/methods/get_chat.py +++ b/aiogram/api/methods/get_chat.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from ..types import Chat from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_chat_administrators.py b/aiogram/api/methods/get_chat_administrators.py index 2792b08f..584d6f9a 100644 --- a/aiogram/api/methods/get_chat_administrators.py +++ b/aiogram/api/methods/get_chat_administrators.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Union from ..types import ChatMember from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_chat_member.py b/aiogram/api/methods/get_chat_member.py index 731709d9..903fd803 100644 --- a/aiogram/api/methods/get_chat_member.py +++ b/aiogram/api/methods/get_chat_member.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from ..types import ChatMember from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_chat_members_count.py b/aiogram/api/methods/get_chat_members_count.py index f1418ec9..9b830af0 100644 --- a/aiogram/api/methods/get_chat_members_count.py +++ b/aiogram/api/methods/get_chat_members_count.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_file.py b/aiogram/api/methods/get_file.py index fb144ad0..9fce6eb0 100644 --- a/aiogram/api/methods/get_file.py +++ b/aiogram/api/methods/get_file.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict from ..types import File from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_game_high_scores.py b/aiogram/api/methods/get_game_high_scores.py index 3d672819..c2dd0671 100644 --- a/aiogram/api/methods/get_game_high_scores.py +++ b/aiogram/api/methods/get_game_high_scores.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional from ..types import GameHighScore from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_me.py b/aiogram/api/methods/get_me.py index a14a4de7..c9171d47 100644 --- a/aiogram/api/methods/get_me.py +++ b/aiogram/api/methods/get_me.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict from ..types import User from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_my_commands.py b/aiogram/api/methods/get_my_commands.py index b865b8ae..c748cb92 100644 --- a/aiogram/api/methods/get_my_commands.py +++ b/aiogram/api/methods/get_my_commands.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List from ..types import BotCommand from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_sticker_set.py b/aiogram/api/methods/get_sticker_set.py index ca09587f..56e54577 100644 --- a/aiogram/api/methods/get_sticker_set.py +++ b/aiogram/api/methods/get_sticker_set.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict from ..types import StickerSet from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_updates.py b/aiogram/api/methods/get_updates.py index 5e03738f..ffb74c92 100644 --- a/aiogram/api/methods/get_updates.py +++ b/aiogram/api/methods/get_updates.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional from ..types import Update from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_user_profile_photos.py b/aiogram/api/methods/get_user_profile_photos.py index 76fe0573..bce33116 100644 --- a/aiogram/api/methods/get_user_profile_photos.py +++ b/aiogram/api/methods/get_user_profile_photos.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional from ..types import UserProfilePhotos from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/get_webhook_info.py b/aiogram/api/methods/get_webhook_info.py index 4fa3476a..218569bb 100644 --- a/aiogram/api/methods/get_webhook_info.py +++ b/aiogram/api/methods/get_webhook_info.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict from ..types import WebhookInfo from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/kick_chat_member.py b/aiogram/api/methods/kick_chat_member.py index 3c6e4a6e..45880c4c 100644 --- a/aiogram/api/methods/kick_chat_member.py +++ b/aiogram/api/methods/kick_chat_member.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/leave_chat.py b/aiogram/api/methods/leave_chat.py index 4505762f..7af04143 100644 --- a/aiogram/api/methods/leave_chat.py +++ b/aiogram/api/methods/leave_chat.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/pin_chat_message.py b/aiogram/api/methods/pin_chat_message.py index f8d30376..dbf0d013 100644 --- a/aiogram/api/methods/pin_chat_message.py +++ b/aiogram/api/methods/pin_chat_message.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/promote_chat_member.py b/aiogram/api/methods/promote_chat_member.py index 10b59765..1b4ca625 100644 --- a/aiogram/api/methods/promote_chat_member.py +++ b/aiogram/api/methods/promote_chat_member.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/restrict_chat_member.py b/aiogram/api/methods/restrict_chat_member.py index 21c06dd0..9626e05a 100644 --- a/aiogram/api/methods/restrict_chat_member.py +++ b/aiogram/api/methods/restrict_chat_member.py @@ -6,7 +6,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import ChatPermissions from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_animation.py b/aiogram/api/methods/send_animation.py index 00ae7546..dcb8e91c 100644 --- a/aiogram/api/methods/send_animation.py +++ b/aiogram/api/methods/send_animation.py @@ -13,7 +13,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_audio.py b/aiogram/api/methods/send_audio.py index dcb58746..739fadcb 100644 --- a/aiogram/api/methods/send_audio.py +++ b/aiogram/api/methods/send_audio.py @@ -13,7 +13,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_chat_action.py b/aiogram/api/methods/send_chat_action.py index fd1be792..bff4283c 100644 --- a/aiogram/api/methods/send_chat_action.py +++ b/aiogram/api/methods/send_chat_action.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_contact.py b/aiogram/api/methods/send_contact.py index dee9f6b7..90c1fd7d 100644 --- a/aiogram/api/methods/send_contact.py +++ b/aiogram/api/methods/send_contact.py @@ -11,7 +11,7 @@ from ..types import ( ) from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_dice.py b/aiogram/api/methods/send_dice.py index c267c549..1b69fed4 100644 --- a/aiogram/api/methods/send_dice.py +++ b/aiogram/api/methods/send_dice.py @@ -11,7 +11,7 @@ from ..types import ( ) from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_document.py b/aiogram/api/methods/send_document.py index 07c91bf4..9ee44b54 100644 --- a/aiogram/api/methods/send_document.py +++ b/aiogram/api/methods/send_document.py @@ -13,7 +13,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_game.py b/aiogram/api/methods/send_game.py index f3113f6c..15257073 100644 --- a/aiogram/api/methods/send_game.py +++ b/aiogram/api/methods/send_game.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional from ..types import InlineKeyboardMarkup, Message from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_invoice.py b/aiogram/api/methods/send_invoice.py index e96c903d..fa9f0615 100644 --- a/aiogram/api/methods/send_invoice.py +++ b/aiogram/api/methods/send_invoice.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional from ..types import InlineKeyboardMarkup, LabeledPrice, Message from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_location.py b/aiogram/api/methods/send_location.py index 8be75bd0..76cdda91 100644 --- a/aiogram/api/methods/send_location.py +++ b/aiogram/api/methods/send_location.py @@ -11,7 +11,7 @@ from ..types import ( ) from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_media_group.py b/aiogram/api/methods/send_media_group.py index 9bb05c90..70c804e1 100644 --- a/aiogram/api/methods/send_media_group.py +++ b/aiogram/api/methods/send_media_group.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union from ..types import InputFile, InputMediaPhoto, InputMediaVideo, Message from .base import Request, TelegramMethod, prepare_input_media, prepare_parse_mode -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_message.py b/aiogram/api/methods/send_message.py index a00aa9bb..9dbeaa16 100644 --- a/aiogram/api/methods/send_message.py +++ b/aiogram/api/methods/send_message.py @@ -12,7 +12,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_parse_mode -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_photo.py b/aiogram/api/methods/send_photo.py index 968664d1..b35cc165 100644 --- a/aiogram/api/methods/send_photo.py +++ b/aiogram/api/methods/send_photo.py @@ -13,7 +13,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_poll.py b/aiogram/api/methods/send_poll.py index 341c00d8..0868d0b2 100644 --- a/aiogram/api/methods/send_poll.py +++ b/aiogram/api/methods/send_poll.py @@ -12,7 +12,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_parse_mode -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_sticker.py b/aiogram/api/methods/send_sticker.py index 835f1f4b..a2adbffa 100644 --- a/aiogram/api/methods/send_sticker.py +++ b/aiogram/api/methods/send_sticker.py @@ -12,7 +12,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_venue.py b/aiogram/api/methods/send_venue.py index 62fa79ad..e81455e4 100644 --- a/aiogram/api/methods/send_venue.py +++ b/aiogram/api/methods/send_venue.py @@ -11,7 +11,7 @@ from ..types import ( ) from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_video.py b/aiogram/api/methods/send_video.py index e56ae1c8..c9c5acb2 100644 --- a/aiogram/api/methods/send_video.py +++ b/aiogram/api/methods/send_video.py @@ -13,7 +13,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_video_note.py b/aiogram/api/methods/send_video_note.py index 2722706f..f3b75574 100644 --- a/aiogram/api/methods/send_video_note.py +++ b/aiogram/api/methods/send_video_note.py @@ -12,7 +12,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/send_voice.py b/aiogram/api/methods/send_voice.py index 69b0dfbc..2a464439 100644 --- a/aiogram/api/methods/send_voice.py +++ b/aiogram/api/methods/send_voice.py @@ -13,7 +13,7 @@ from ..types import ( ) from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_chat_administrator_custom_title.py b/aiogram/api/methods/set_chat_administrator_custom_title.py index 01fe6757..e4929c51 100644 --- a/aiogram/api/methods/set_chat_administrator_custom_title.py +++ b/aiogram/api/methods/set_chat_administrator_custom_title.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_chat_description.py b/aiogram/api/methods/set_chat_description.py index dba7fb7d..2a7ac937 100644 --- a/aiogram/api/methods/set_chat_description.py +++ b/aiogram/api/methods/set_chat_description.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_chat_permissions.py b/aiogram/api/methods/set_chat_permissions.py index aa314bb1..f4739c5c 100644 --- a/aiogram/api/methods/set_chat_permissions.py +++ b/aiogram/api/methods/set_chat_permissions.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from ..types import ChatPermissions from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_chat_photo.py b/aiogram/api/methods/set_chat_photo.py index 4b1b4d0a..94e8cf55 100644 --- a/aiogram/api/methods/set_chat_photo.py +++ b/aiogram/api/methods/set_chat_photo.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from ..types import InputFile from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_chat_sticker_set.py b/aiogram/api/methods/set_chat_sticker_set.py index 7b4aefac..7f37c7ff 100644 --- a/aiogram/api/methods/set_chat_sticker_set.py +++ b/aiogram/api/methods/set_chat_sticker_set.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_chat_title.py b/aiogram/api/methods/set_chat_title.py index 8dfcebc5..4b3bd8b4 100644 --- a/aiogram/api/methods/set_chat_title.py +++ b/aiogram/api/methods/set_chat_title.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_game_score.py b/aiogram/api/methods/set_game_score.py index e9e27f69..41d3f054 100644 --- a/aiogram/api/methods/set_game_score.py +++ b/aiogram/api/methods/set_game_score.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import Message from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_my_commands.py b/aiogram/api/methods/set_my_commands.py index ee6e488e..f7fd7b9a 100644 --- a/aiogram/api/methods/set_my_commands.py +++ b/aiogram/api/methods/set_my_commands.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List from ..types import BotCommand from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_passport_data_errors.py b/aiogram/api/methods/set_passport_data_errors.py index 98e82068..280187a9 100644 --- a/aiogram/api/methods/set_passport_data_errors.py +++ b/aiogram/api/methods/set_passport_data_errors.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List from ..types import PassportElementError from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_sticker_position_in_set.py b/aiogram/api/methods/set_sticker_position_in_set.py index e4b81b23..54c27bfd 100644 --- a/aiogram/api/methods/set_sticker_position_in_set.py +++ b/aiogram/api/methods/set_sticker_position_in_set.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_sticker_set_thumb.py b/aiogram/api/methods/set_sticker_set_thumb.py index 15d1959e..67d3e50e 100644 --- a/aiogram/api/methods/set_sticker_set_thumb.py +++ b/aiogram/api/methods/set_sticker_set_thumb.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import InputFile from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/set_webhook.py b/aiogram/api/methods/set_webhook.py index c1533595..49c7617d 100644 --- a/aiogram/api/methods/set_webhook.py +++ b/aiogram/api/methods/set_webhook.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional from ..types import InputFile from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/stop_message_live_location.py b/aiogram/api/methods/stop_message_live_location.py index 552564ce..a7677163 100644 --- a/aiogram/api/methods/stop_message_live_location.py +++ b/aiogram/api/methods/stop_message_live_location.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import InlineKeyboardMarkup, Message from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/stop_poll.py b/aiogram/api/methods/stop_poll.py index fb7fca3b..81e8ef26 100644 --- a/aiogram/api/methods/stop_poll.py +++ b/aiogram/api/methods/stop_poll.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Union from ..types import InlineKeyboardMarkup, Poll from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/unban_chat_member.py b/aiogram/api/methods/unban_chat_member.py index 0a4bb14b..56a30bd6 100644 --- a/aiogram/api/methods/unban_chat_member.py +++ b/aiogram/api/methods/unban_chat_member.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/unpin_chat_message.py b/aiogram/api/methods/unpin_chat_message.py index 5a57ef25..419a7edd 100644 --- a/aiogram/api/methods/unpin_chat_message.py +++ b/aiogram/api/methods/unpin_chat_message.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Any, Dict, Union from .base import Request, TelegramMethod -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot diff --git a/aiogram/api/methods/upload_sticker_file.py b/aiogram/api/methods/upload_sticker_file.py index 0e84e95a..a5f553e3 100644 --- a/aiogram/api/methods/upload_sticker_file.py +++ b/aiogram/api/methods/upload_sticker_file.py @@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Dict from ..types import File, InputFile from .base import Request, TelegramMethod, prepare_file -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from ..client.bot import Bot