Skip to content

Commit 7e02187

Browse files
committed
fix docs
1 parent 716cf3e commit 7e02187

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

docs/api/index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,13 @@ <h3 id="atomic_db_session">atomic_db_session</h3>
305305
uses 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
307307
an 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) -&gt; None:

docs_sources/docs/api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ There are several options that define how the function will handle
205205
an already open transaction.
206206

207207
current_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

0 commit comments

Comments
 (0)