aboutsummaryrefslogtreecommitdiff
path: root/test/__init__.py
diff options
context:
space:
mode:
authorBonfaceKilz2022-03-12 15:27:53 +0300
committerBonfaceKilz2022-03-12 15:33:01 +0300
commit2643dc6f918fe1245bb9a5087c9e4c1453a366ee (patch)
treed4d1e1d9d7d10ff5f8493528c9ee641333f34762 /test/__init__.py
parentc06f1c8b50d7640469521a6d016c5dcefc0fa0ea (diff)
downloadgenenetwork2-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 'test/__init__.py')
0 files changed, 0 insertions, 0 deletions