Skip to content

Removed the use of the context instance (Bot.get_current) from all placements that were used previously. #1230

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

Merged
merged 4 commits into from
Jul 28, 2023

Conversation

JrooTJunior
Copy link
Member

Description

Removed the use of the context instance (Bot.get_current) from all placements that were used previously.

@JrooTJunior JrooTJunior added breaking This breaks backwards-compatibility 3.x Issue or PR for stable 3.x version labels Jul 28, 2023
@JrooTJunior JrooTJunior added this to the 3.0 milestone Jul 28, 2023
@github-actions
Copy link

github-actions bot commented Jul 28, 2023

✔️ Changelog found.

Thank you for adding a description of the changes

@JrooTJunior JrooTJunior merged commit 2ecf9ce into dev-3.x Jul 28, 2023
@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Merging #1230 (b63e71c) into dev-3.x (479e302) will not change coverage.
Report is 1 commits behind head on dev-3.x.
The diff coverage is 100.00%.

❗ Current head b63e71c differs from pull request most recent head b01e5fc. Consider uploading reports for the commit b01e5fc to get more accurate results

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1230   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          363       363           
  Lines         8982      8979    -3     
=========================================
- Hits          8982      8979    -3     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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

Files Changed Coverage Δ
aiogram/filters/state.py 100.00% <ø> (ø)
aiogram/types/base.py 100.00% <ø> (ø)
aiogram/utils/chat_action.py 100.00% <ø> (ø)
aiogram/client/bot.py 100.00% <100.00%> (ø)
aiogram/client/context_controller.py 100.00% <100.00%> (ø)
aiogram/dispatcher/dispatcher.py 100.00% <100.00%> (ø)
aiogram/handlers/base.py 100.00% <100.00%> (ø)

@JrooTJunior JrooTJunior deleted the finally-no-context branch August 14, 2023 20:34
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 breaking This breaks backwards-compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant