aboutsummaryrefslogtreecommitdiff
path: root/qc_app/db_utils.py
AgeCommit message (Collapse)Author
2023-12-06Feature: Upload Samples/CasesFrederick Muriuki Muriithi
Implements the code enabling the upload of the samples/cases to the database.
2023-11-15Log out DB errors even when handledFrederick Muriuki Muriithi
Log out any DB errors that occur to help with tracking and debugging failures.
2023-11-15Commit changes on query success.Frederick Muriuki Muriithi
2022-08-31Provide database port where relevant.Frederick Muriuki Muriithi
2022-07-19Check connections before launchingFrederick Muriuki Muriithi
* qc_app/__init__.py (refactor): Check connection before launching the application * qc_app/check_connections.py (new file): Add code to check connections * qc_app/db_utils.py (refactor): enable passing the database uri as an argument to the connection creation function. * scripts/worker.py (refactor): Use new code to check for redis connection.
2022-07-19Add missing db_utils moduleFrederick Muriuki Muriithi