Added MySQL Database Support (updated pyproject dependencies)#7
Added MySQL Database Support (updated pyproject dependencies)#7s-bose merged 10 commits intos-bose:masterfrom
Conversation
CodeStrate
commented
Oct 21, 2025
- Added mysql connector dependency and updated README and pyproject to reflect it (similar to postgresql)
- Added utility to parse individual connection params from DSN for MySQL
- Migration Logic borrowed from SQLite with MySQL syntax specific changes
s-bose
left a comment
There was a problem hiding this comment.
- Documentations missing.
- Several issues with code structure and refactor
- Unit tests missing.
Overall nice work! Please fix the highlighted bits and add comprehensive unit tests.
|
Could you elaborate on the documentation part? |
I mean in the readme there should be a mention of mysql and the dsn format. |
|
@s-bose Added unit tests using the existing implementations as base. |
|
I need your assistance since unit testing is not my strong suit, any suggestions on the autocommit test might help. EDIT: I saw postgres's autocommit true in connect, so followed that. |
…syntax and added autocommit True to match Postgres.
CodeStrate
left a comment
There was a problem hiding this comment.
All requested changes are made @s-bose . Please review
|
@CodeStrate Just a few more nitpicky reviews. Please review and lmk. Otherwise LGTM for merge. |
- Also removed self.connection_params making it a local variable.
|
Test CI is failing. Could you check please? |
|
I didn't add uv lock file to the repository so probably that's the reason |
|
@s-bose can you test the CI now? |
|
@CodeStrate There is a failing test. https://github.com/s-bose/wandern/actions/runs/18948964620/job/54108342466 |
…ported testcase to avoid failure.
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
|
@CodeStrate Two more things. Could you please try to shorten the code a bit? Sorry for being a pain! :) |
|
@CodeStrate Merged! |