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 docstring and Psycopg2Connector __init__ signature #447

Merged
merged 2 commits into from
Sep 16, 2021
Merged

Conversation

elemoine
Copy link
Contributor

This PR includes two minor changes to psycopg2_connector.py:

  • removal of an erroneous docstring for the wrap_exceptions decorator function,
  • removal of the pool argument to the Psycopg2Connector.__init__ function.

Successful PR Checklist:

  • Tests
    • (not applicable?)
  • Documentation
    • (not applicable?)

Éric Lemoine added 2 commits September 16, 2021 08:06
The Psycopg2Connector __init__ function does not have a pool
argument. A user-created pool can be used, but it's to be
passed to the open function.
@codecov
Copy link

codecov bot commented Sep 16, 2021

Codecov Report

Merging #447 (2b19779) into master (bb117c3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #447   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines         1635      1635           
  Branches       178       178           
=========================================
  Hits          1635      1635           
Impacted Files Coverage Δ
procrastinate/psycopg2_connector.py 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 bb117c3...2b19779. Read the comment docs.

@ewjoachim ewjoachim merged commit e7f4496 into master Sep 16, 2021
@ewjoachim ewjoachim deleted the misc branch September 16, 2021 09:46
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.

2 participants