diff options
author | Arun Isaac | 2022-09-28 13:37:10 +0530 |
---|---|---|
committer | Arun Isaac | 2022-09-28 13:37:10 +0530 |
commit | 361b016764205845b8175100fe21a5455968c087 (patch) | |
tree | 2d89bdba5892afbb886d9fbd922c645aa401c532 /wqflask/tests/unit | |
parent | 176aaf2d1a5891242029ca4ebcfea287050fd7ed (diff) | |
download | genenetwork2-361b016764205845b8175100fe21a5455968c087.tar.gz |
Do not assume transactions in database connections.
Not all database queries need transactions. If transactions are
required, they should be made a separate context manager and called
only when required.
* wqflask/wqflask/database.py (database_connection): Do not rollback
or commit.
Diffstat (limited to 'wqflask/tests/unit')
0 files changed, 0 insertions, 0 deletions