Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed deprecated arguments from Bot class #1494

Merged
merged 2 commits into from
May 27, 2024
Merged

Conversation

JrooTJunior
Copy link
Member

@JrooTJunior JrooTJunior commented May 27, 2024

The deprecated arguments parse_mode, disable_web_page_preview, and protect_content have been removed from the Bot class. Additionally, the associated warnings and test cases have been deleted. These attributes should now be passed using the default=DefaultBotProperties(...) syntax instead.

The deprecated attributes `parse_mode`, `disable_web_page_preview`, and `protect_content` have been removed from the Bot class. Additionally, the associated warnings and test cases have been deleted. These attributes should now be passed using the `default=DefaultBotProperties(...)` syntax instead.
@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label May 27, 2024
Copy link

github-actions bot commented May 27, 2024

✔️ Changelog found.

Thank you for adding a description of the changes

Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1ef7655) to head (28052a6).
Report is 3 commits behind head on dev-3.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1494   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          435       435           
  Lines        11212     11201   -11     
=========================================
- Hits         11212     11201   -11     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
aiogram/client/bot.py 100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

@JrooTJunior JrooTJunior changed the title Remove deprecated attributes from Bot class Removed deprecated attributes from Bot class May 27, 2024
@JrooTJunior JrooTJunior changed the title Removed deprecated attributes from Bot class Removed deprecated arguments from Bot class May 27, 2024
@JrooTJunior JrooTJunior marked this pull request as ready for review May 27, 2024 11:57
@JrooTJunior JrooTJunior merged commit b5d94f1 into dev-3.x May 27, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issue or PR for stable 3.x version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant