aiogram/aiogram/methods
Alex Root Junior 04bd0c9e7c
Fixed error overlapping when validation error is caused by remove_unset root validator in base types and methods. (#1290)
* Ensure base type validation can handle non-dictionary values

The update introduces a condition to verify whether the values being validated are a dictionary before attempting to handle UNSET_TYPE in the aiogram base type. This adjustment helps to prevent potential errors or incorrect validation when non-dictionary values are faced.

* Added a test case for non-dictionary input in remove_unset method

* Added changelog

* Fixed tests
2023-08-29 02:01:54 +03:00
..
__init__.py Bot API 6.8 (#1276) 2023-08-18 20:18:05 +03:00
add_sticker_to_set.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
answer_callback_query.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
answer_inline_query.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
answer_pre_checkout_query.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
answer_shipping_query.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
answer_web_app_query.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
approve_chat_join_request.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
ban_chat_member.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
ban_chat_sender_chat.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
base.py Fixed error overlapping when validation error is caused by remove_unset root validator in base types and methods. (#1290) 2023-08-29 02:01:54 +03:00
close.py Update pydantic to V2 (#1202) 2023-07-02 15:07:19 +03:00
close_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
close_general_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
copy_message.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
create_chat_invite_link.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
create_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
create_invoice_link.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
create_new_sticker_set.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
decline_chat_join_request.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
delete_chat_photo.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
delete_chat_sticker_set.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
delete_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
delete_message.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
delete_my_commands.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
delete_sticker_from_set.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
delete_sticker_set.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
delete_webhook.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
edit_chat_invite_link.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
edit_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
edit_general_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
edit_message_caption.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
edit_message_live_location.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
edit_message_media.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
edit_message_reply_markup.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
edit_message_text.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
export_chat_invite_link.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
forward_message.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_chat.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_chat_administrators.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_chat_member.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_chat_member_count.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_chat_menu_button.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_custom_emoji_stickers.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_file.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_forum_topic_icon_stickers.py Update pydantic to V2 (#1202) 2023-07-02 15:07:19 +03:00
get_game_high_scores.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_me.py Update pydantic to V2 (#1202) 2023-07-02 15:07:19 +03:00
get_my_commands.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_my_default_administrator_rights.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_my_description.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_my_name.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_my_short_description.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_sticker_set.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_updates.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_user_profile_photos.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
get_webhook_info.py Update pydantic to V2 (#1202) 2023-07-02 15:07:19 +03:00
hide_general_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
leave_chat.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
log_out.py Update pydantic to V2 (#1202) 2023-07-02 15:07:19 +03:00
pin_chat_message.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
promote_chat_member.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
reopen_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
reopen_general_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
restrict_chat_member.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
revoke_chat_invite_link.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_animation.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_audio.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_chat_action.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_contact.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_dice.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_document.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_game.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_invoice.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_location.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_media_group.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_message.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_photo.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_poll.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_sticker.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_venue.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_video.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_video_note.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
send_voice.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_chat_administrator_custom_title.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_chat_description.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_chat_menu_button.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_chat_permissions.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_chat_photo.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_chat_sticker_set.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_chat_title.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_custom_emoji_sticker_set_thumbnail.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_game_score.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_my_commands.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_my_default_administrator_rights.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_my_description.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_my_name.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_my_short_description.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_passport_data_errors.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_sticker_emoji_list.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_sticker_keywords.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_sticker_mask_position.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_sticker_position_in_set.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_sticker_set_thumbnail.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_sticker_set_title.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
set_webhook.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
stop_message_live_location.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
stop_poll.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
unban_chat_member.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
unban_chat_sender_chat.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
unhide_general_forum_topic.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
unpin_all_chat_messages.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
unpin_all_forum_topic_messages.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
unpin_all_general_forum_topic_messages.py Bot API 6.8 (#1276) 2023-08-18 20:18:05 +03:00
unpin_chat_message.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00
upload_sticker_file.py Added typehints for init methods of types and methods (#1245) 2023-08-04 00:30:27 +03:00