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

Fix async iterator protocol in _SAConnectionContextManager #494

Conversation

MateuszCzubak
Copy link
Contributor

What do these changes do?

Fixes async iterator protocol for _SAConnectionContextManager.

Are there changes in behavior for the user?

Related issue number

#410

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> (e.g. 588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the PR
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.

@codecov
Copy link

codecov bot commented May 29, 2020

Codecov Report

Merging #494 (9f7a3cb) into master (30b9ea5) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #494      +/-   ##
==========================================
+ Coverage   92.71%   92.77%   +0.05%     
==========================================
  Files          35       35              
  Lines        5452     5468      +16     
  Branches      919      922       +3     
==========================================
+ Hits         5055     5073      +18     
+ Misses        309      307       -2     
  Partials       88       88              
Flag Coverage Δ
ubuntu-latest_3.10_mariadb-10.2 89.55% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.10_mariadb-10.3 89.55% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.10_mariadb-10.4 89.55% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.10_mariadb-10.5 89.53% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.10_mariadb-10.6 89.53% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.10_mariadb-10.7 89.53% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.10_mysql-5.7 90.25% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.10_mysql-8.0 91.66% <100.00%> (?)
ubuntu-latest_3.11-dev_mariadb-10.2 89.52% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.11-dev_mariadb-10.3 89.52% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.11-dev_mariadb-10.4 89.52% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.11-dev_mariadb-10.5 89.50% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.11-dev_mariadb-10.6 89.50% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.11-dev_mariadb-10.7 89.50% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.11-dev_mysql-5.7 90.21% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.11-dev_mysql-8.0 91.62% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.7_mariadb-10.2 88.96% <100.00%> (+0.07%) ⬆️
ubuntu-latest_3.7_mariadb-10.3 88.96% <100.00%> (+0.07%) ⬆️
ubuntu-latest_3.7_mariadb-10.4 88.96% <100.00%> (+0.07%) ⬆️
ubuntu-latest_3.7_mariadb-10.5 88.94% <100.00%> (+0.07%) ⬆️
ubuntu-latest_3.7_mariadb-10.6 88.94% <100.00%> (+0.07%) ⬆️
ubuntu-latest_3.7_mariadb-10.7 88.94% <100.00%> (+0.07%) ⬆️
ubuntu-latest_3.7_mysql-5.7 89.70% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.7_mysql-8.0 91.20% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.8_mariadb-10.2 89.59% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.8_mariadb-10.3 89.59% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.8_mariadb-10.4 89.59% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.8_mariadb-10.5 89.58% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.8_mariadb-10.6 89.58% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.8_mariadb-10.7 89.58% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.8_mysql-5.7 90.29% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.8_mysql-8.0 91.68% <100.00%> (+0.06%) ⬆️
ubuntu-latest_3.9_mariadb-10.2 89.45% <94.73%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.3 89.45% <94.73%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.4 89.45% <94.73%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.5 89.43% <94.73%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.6 89.43% <94.73%> (+0.04%) ⬆️
ubuntu-latest_3.9_mariadb-10.7 89.43% <94.73%> (+0.04%) ⬆️
ubuntu-latest_3.9_mysql-5.7 90.14% <94.73%> (+0.04%) ⬆️
ubuntu-latest_3.9_mysql-8.0 91.54% <94.73%> (+0.04%) ⬆️

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

Impacted Files Coverage Δ
aiomysql/utils.py 83.89% <100.00%> (+2.98%) ⬆️
tests/sa/test_sa_connection.py 97.32% <100.00%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 30b9ea5...9f7a3cb. Read the comment docs.

@MateuszCzubak
Copy link
Contributor Author

@webknjaz Can you please take a look here as well?

@Nothing4You Nothing4You merged commit ca4c064 into aio-libs:master Feb 3, 2022
@Nothing4You
Copy link
Collaborator

thanks!

@Nothing4You Nothing4You added this to the 1.0 milestone Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix async iterator protocol in aiomysql.utils._SAConnectionContextManager
3 participants