Skip to content

Conversation

troyswanson
Copy link

Updated type hints for acquire, drop, and release methods in ConnectionPool class

This fixes #52

Signed-off-by: Troy Swanson <troyrswanson@gmail.com> 
Updated type hints for acquire, drop, and release methods
@troyswanson
Copy link
Author

I haven't signed the OCA so I don't think you can actually merge this.

However, the maintainers of this project are free to use my code as inspiration for their own patch!

@troyswanson
Copy link
Author

FYI, the patch here will introduce a circular import issue. Putting the class names in quotes fixes that.

https://peps.python.org/pep-0484/#forward-references

@cjbj
Copy link
Member

cjbj commented Sep 5, 2022

@troyswanson Is there anything I can do to enable you to sign the OCA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants