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

Async run_transaction or aiopg and asyncpg #36

Open
tailhook opened this issue Sep 7, 2017 · 1 comment
Open

Async run_transaction or aiopg and asyncpg #36

tailhook opened this issue Sep 7, 2017 · 1 comment

Comments

@tailhook
Copy link
Contributor

tailhook commented Sep 7, 2017

Would be nice to have, and looks easy enough to implement.

Eventually, I'll probably implement one myself if nobody jumps in. Any hints for implementation?

@tailhook
Copy link
Contributor Author

tailhook commented Sep 7, 2017

Also, it looks like transaction.py imports psycopg2 for no reason (just to catch error name), if I use asyncpg. So the the line:

from .transaction import run_transaction  # noqa

... should be removed. Or module itself should be made more robust.

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

No branches or pull requests

1 participant