Implement method "transaction()" on DB API to use it as "with db_api.transaction()"
Registered by
Renat Akhmerov
We need to implement another method on DB API called "transaction()" so that we could use a standard Python "with" statement as:
with db_api.
# do something in TX...
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- Medium
- Drafter:
- Renat Akhmerov
- Direction:
- Approved
- Assignee:
- Bryan Havenstein
- Definition:
- New
- Series goal:
- Accepted for juno
- Implementation:
-
Implemented
- Milestone target:
-
0.1
- Started by
- Bryan Havenstein
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
Addressed by: https:/
Adding transaction context manager function for db transactions
(?)