Skip to content

Commit 46ea627

Browse files
committed
update docs
1 parent 63b7eb2 commit 46ea627

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/api/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ <h3 id="init">init</h3>
197197
<h3 id="connect">connect</h3>
198198
<pre><code class="language-python">async def connect(self: DBConnect, host: str) -&gt; None:
199199
</code></pre>
200-
<p>Establishes a connection to the specified host.</p>
200+
<p>Establishes a connection to the specified host. This method doesn’t need to be called explicitly. If it isn’t called, the first session request will automatically establish the connection.</p>
201201
<hr />
202202
<h3 id="change_host">change_host</h3>
203203
<pre><code class="language-python">async def change_host(self: DBConnect, host: str) -&gt; None:

docs_sources/docs/api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ async def renew_master_connect(connect: DBConnect) -> None:
6767
async def connect(self: DBConnect, host: str) -> None:
6868
```
6969
Establishes a connection to the specified host.
70+
This method doesn’t need to be called explicitly.
71+
If it isn’t called, the first session request will automatically
72+
establish the connection.
7073

7174
---
7275

0 commit comments

Comments
 (0)