diff options
author | Arun Isaac | 2022-10-18 16:25:36 +0530 |
---|---|---|
committer | Arun Isaac | 2022-10-18 16:26:43 +0530 |
commit | acc97e523ecdc6938b5744d4de4781e5d65f6d25 (patch) | |
tree | 9767b1e9fb0f6bdd495d37620384253d40adc21c /scripts | |
parent | d7aa54361c1f7e6acb222f3ff65576d14eaff916 (diff) | |
download | genenetwork3-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 'scripts')
0 files changed, 0 insertions, 0 deletions