aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/db
AgeCommit message (Collapse)Author
2024-11-22Delete local mariadb connections module.Frederick Muriuki Muriithi
We no longer need this module after moving the code to use gn-libs.
2024-03-08Remove "raise" in auth.db Protocol classes.Munyoki Kilyungi
* gn_auth/auth/db/protocols.py (DbCursor): Remove "raise" in DBCursor Protocol. See: <https://typing.readthedocs.io/en/latest/spec/protocol.html>
2023-11-22Only commit on successful queryFrederick Muriuki Muriithi
Only commit changes if the queries are successful.
2023-08-23pylint: Remove statement calling non-existent memberFrederick Muriuki Muriithi
2023-08-23pylint: replace ellipsis with statement raising exception.Frederick Muriuki Muriithi
2023-08-08Fix type-checking errorsFrederick Muriuki Muriithi
2023-08-08Fix issues caught by linterFrederick Muriuki Muriithi
* Add a .pylintrc to silence annoying messages * Fix imports * Add missing `parse_db_url` function * Add a new `gn_auth.auth.db.redis` module
2023-08-07Collect db-connections function in single module.Frederick Muriuki Muriithi