File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -305,11 +305,13 @@ <h3 id="atomic_db_session">atomic_db_session</h3>
305305uses a context session, making that call isolated within its own transaction.</ p >
306306< p > There are several options that define how the function will handle
307307an already open transaction.</ p >
308- < p > current_transaction:
309- - < code > commit</ code > - commits the open transaction and starts a new one
310- - < code > rollback</ code > - rolls back the open transaction and starts a new one
311- - < code > append</ code > - continues using the current transaction and commits it
312- - < code > raise</ code > - raises an InvalidRequestError</ p >
308+ < p > current_transaction:</ p >
309+ < ul >
310+ < li > < code > commit</ code > - commits the open transaction and starts a new one</ li >
311+ < li > < code > rollback</ code > - rolls back the open transaction and starts a new one</ li >
312+ < li > < code > append</ code > - continues using the current transaction and commits it</ li >
313+ < li > < code > raise</ code > - raises an InvalidRequestError</ li >
314+ </ ul >
313315< hr />
314316< h3 id ="commit_db_session "> commit_db_session</ h3 >
315317< pre > < code class ="language-python "> async def commit_db_session(connect: DBConnect) -> None:
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ There are several options that define how the function will handle
205205an already open transaction.
206206
207207current_transaction:
208+
208209- ` commit ` - commits the open transaction and starts a new one
209210- ` rollback ` - rolls back the open transaction and starts a new one
210211- ` append ` - continues using the current transaction and commits it
You can’t perform that action at this time.
0 commit comments