aboutsummaryrefslogtreecommitdiff
path: root/test/requests
diff options
context:
space:
mode:
authorArun Isaac2022-09-28 13:37:10 +0530
committerArun Isaac2022-09-28 13:37:10 +0530
commit361b016764205845b8175100fe21a5455968c087 (patch)
tree2d89bdba5892afbb886d9fbd922c645aa401c532 /test/requests
parent176aaf2d1a5891242029ca4ebcfea287050fd7ed (diff)
downloadgenenetwork2-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 'test/requests')
0 files changed, 0 insertions, 0 deletions