-
Notifications
You must be signed in to change notification settings - Fork 259
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
mysql asyncmy driver #382
mysql asyncmy driver #382
Conversation
3233bf3
to
1adf801
Compare
543df08
to
2e06268
Compare
@aminalaee @PrettyWood when the changes will be released? |
@dkharyna I'm waiting for feedback. |
I see. Thanks for the quick respond. |
@dkharyna In the meantime, you can also go through this and provide any feedback if you have. |
@aminalaee Hi! The main maintainer seems to be AWOL. Is there any way to keep the repo going? Being without python 3.10 support is quite unpleasant :) |
@Ioloman Hi As for Python 3.10 it's being added to all repos. I'll get that ready. |
You probably want to split some modifications on a separated PR, like postgres image upgrade, Python 3.10 CI support, etc I'm not much into this project, so you can also ignore my words 😗 |
@Kludex You're right somehow. I can't seem to get everything working now :D It's a bit complicated, I can add python 3.10 support as I'm limiting 3.6 for another one. But you're right some of it could be done separately. |
72bfd92
to
78c83e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to work fine for me in my little FastAPI test rig at
https://github.com/gordthompson/fastapi-crud-demo
I would prefer that mysql://…
defaulted to asyncmy instead of aiomysql, but I understand that you might not want to do that right away for fear of breaking stuff. Maybe eventually? (It really does look like the whole "aio*" family of drivers has been orphaned.)
@gordthompson Thank you for the review. TBH, I think it would be better to just remove the default database drivers. They can be confusing, we can stick to explicit drivers. |
@tomchristie Friendly reminder :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just going to leave these ones up to your call @aminalaee.
Generally worth trying to keep different aspects into different PRs (Eg. I notice there's some changes to the development scripts here, which really could be kept separate to the asyncmy
driver addition.) But I'm not bothered enough about that to block this from being able to go in, if you think it's ready.
Thanks for the review. You're right I could leave a little bit of that out of this MR, but as you said it wasn't that much. Will keep that in mind. |
Yup. To be fair - I do sometimes do the same myself. 🤭 |
Fixes #244 .
Adding asyncmy as another mysql driver which is more up to date and faster in some areas.