issues
search
worldbank
/
DECAT_Space2Stats
https://worldbank.github.io/DECAT_Space2Stats/
Other
1
stars
1
forks
source link
Add connection pooling
#27
Closed
zacharyDez
closed
4 weeks ago
zacharyDez
commented
4 weeks ago
What I Changed
Update db_utils.py for connection pooling.
Update test_db_utils.py for connection pool mocking.
Update test_api.py to mock db_utils functions instead of database connection.
How to test it
Run the unittests
python -m pytest
Run through the demo notebook while running the API locally
Other notes
Closes #26
What I Changed
How to test it
python -m pytest
Other notes