diff options
author | BonfaceKilz | 2022-03-12 15:27:53 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-03-12 15:33:01 +0300 |
commit | 2643dc6f918fe1245bb9a5087c9e4c1453a366ee (patch) | |
tree | d4d1e1d9d7d10ff5f8493528c9ee641333f34762 /guix.scm | |
parent | c06f1c8b50d7640469521a6d016c5dcefc0fa0ea (diff) | |
download | genenetwork2-2643dc6f918fe1245bb9a5087c9e4c1453a366ee.tar.gz |
Use "database_connection" within a context-manager
Using "database_connection" within a context-manager makes sure that
the SQL connection that is created is closed.
* wqflask/wqflask/metadata_edits.py (display_probeset_metadata):
Connect to the db within a context-manager.
(update_phenotype): Ditto.
(update_probeset): Ditto.
(approve_data): Ditto.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions