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

✨ Add async support starting with aiopg #22

Merged
merged 7 commits into from Feb 24, 2022
Merged

✨ Add async support starting with aiopg #22

merged 7 commits into from Feb 24, 2022

Conversation

zschumacher
Copy link
Owner

@zschumacher zschumacher commented Feb 24, 2022

  • Add a CommandsAsync interface
  • Support coroutines as context manager for CommandsAsync
  • Add support for aiopg
  • Refactor tests to be easier to work with and more modular
  • Add docs for connecting via async and aiopg specifically

raycast-untitled

contributes to #19

@codecov-commenter
Copy link

codecov-commenter commented Feb 24, 2022

Codecov Report

Merging #22 (2b01e09) into main (7fae9e6) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              main       #22    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           16        17     +1     
  Lines          367       532   +165     
  Branches        59        87    +28     
==========================================
+ Hits           367       532   +165     
Flag Coverage Δ
3.10 99.81% <99.49%> (-0.19%) ⬇️
3.7 100.00% <100.00%> (ø)
3.8 100.00% <100.00%> (ø)
3.9 100.00% <100.00%> (ø)

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

Impacted Files Coverage Δ
pydapper/dsn_parser.py 100.00% <ø> (ø)
pydapper/__init__.py 100.00% <100.00%> (ø)
pydapper/commands.py 100.00% <100.00%> (ø)
pydapper/main.py 100.00% <100.00%> (ø)
pydapper/postgresql/__init__.py 100.00% <100.00%> (ø)
pydapper/postgresql/aiopg.py 100.00% <100.00%> (ø)
pydapper/utils.py 100.00% <100.00%> (ø)

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 7fae9e6...2b01e09. Read the comment docs.

@zschumacher zschumacher merged commit 6eaa4dc into main Feb 24, 2022
@zschumacher zschumacher deleted the async branch February 24, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants