aboutsummaryrefslogtreecommitdiff
path: root/gn3/db_utils.py
AgeCommit message (Expand)Author
2024-06-12refactor: add db_utils global logger that will be the defaultJohn Nduli
2024-06-12fix: log errors when an exception occurs due to db_utilsJohn Nduli
2023-09-05Remove un-necessary ellipsisMunyoki Kilyungi
2023-08-18Commit on success, rollback on error.Frederick Muriuki Muriithi
2023-07-18Fix wrong import, and typing issues.Frederick Muriuki Muriithi
2023-04-15Decouple `gn3.db_utils` from `flask.current_app`.Frederick Muriuki Muriithi
2023-04-06Remove deprecated `gn3.db_utils.database_connector` functionFrederick Muriuki Muriithi
2023-04-05Enable use of `database_connection` in scripts without current_appFrederick Muriuki Muriithi
2023-03-23conf: use flask.current_app.config not in gn3.settingsFrederick Muriuki Muriithi
2023-02-23auth: Link data in MySQL to the groups (in SQLite)Frederick Muriuki Muriithi
2022-11-02Fix pylint and mypy errorsMunyoki Kilyungi
2022-10-28Use Xapian index path from app settings.Arun Isaac
2022-10-28Disable various pylint checks on Connection class.Arun Isaac
2022-10-26Add xapian database connection context manager.Arun Isaac
2022-10-18Add database connection context manager.Arun Isaac
2022-08-22Use non-default MySQL port if presentFrederick Muriuki Muriithi
2022-03-11Fix some linting issuesFrederick Muriuki Muriithi
2022-03-08Create database connections within context managersFrederick Muriuki Muriithi
2021-05-08gn3: db_utils: Remove mypy ignore stubBonfaceKilz
2021-05-08Fix pep-8 errorsBonfaceKilz
2021-04-12Integrate correlation APIAlexander Kabui