aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
authorArun Isaac2022-10-18 16:25:36 +0530
committerArun Isaac2022-10-18 16:26:43 +0530
commitacc97e523ecdc6938b5744d4de4781e5d65f6d25 (patch)
tree9767b1e9fb0f6bdd495d37620384253d40adc21c /gn3/db
parentd7aa54361c1f7e6acb222f3ff65576d14eaff916 (diff)
downloadgenenetwork3-acc97e523ecdc6938b5744d4de4781e5d65f6d25.tar.gz
Add database connection context manager.
* gn3/db_utils.py: Import contextlib. Import Any, Iterator, Protocol and Tuple from typing. (database_connector): Deprecate function. (Connection): New class. (database_connection): New function.
Diffstat (limited to 'gn3/db')
0 files changed, 0 insertions, 0 deletions