This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 0e8a6a1  publish documentation
0e8a6a1 is described below

commit 0e8a6a1545654f2d5e11ab1ca37f85b242253197
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Mar 13 13:42:51 2023 +0000

    publish documentation
---
 main/python/api/adbc_driver_manager.html | 10 ++++++++++
 main/searchindex.js                      |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/main/python/api/adbc_driver_manager.html 
b/main/python/api/adbc_driver_manager.html
index 393ade2..b582dde 100644
--- a/main/python/api/adbc_driver_manager.html
+++ b/main/python/api/adbc_driver_manager.html
@@ -849,6 +849,15 @@ serialize accesses to a connection.</p>
 <section id="module-adbc_driver_manager.dbapi">
 <span id="dbapi-2-0-api"></span><h2>DBAPI 2.0 API<a class="headerlink" 
href="#module-adbc_driver_manager.dbapi" title="Permalink to this 
heading">#</a></h2>
 <p>PEP 249 (DB-API 2.0) API wrapper for the ADBC Driver Manager.</p>
+<section id="resource-management">
+<h3>Resource Management<a class="headerlink" href="#resource-management" 
title="Permalink to this heading">#</a></h3>
+<p>You must <code class="docutils literal notranslate"><span 
class="pre">close()</span></code> Connection and Cursor objects, or else driver
+resources may be leaked.  A <code class="docutils literal notranslate"><span 
class="pre">__del__</span></code> is implemented as a fallback,
+but Python does not guarantee the timing of when this is called.  For
+development, <code class="docutils literal notranslate"><span 
class="pre">__del__</span></code> will raise a ResourceWarning when running
+under pytest, or when the environment variable
+<code class="docutils literal notranslate"><span 
class="pre">_ADBC_DRIVER_MANAGER_WARN_UNCLOSED_RESOURCE</span></code> is set to 
<code class="docutils literal notranslate"><span 
class="pre">1</span></code>.</p>
+</section>
 <section id="id1">
 <h3>Constants &amp; Enums<a class="headerlink" href="#id1" title="Permalink to 
this heading">#</a></h3>
 <dl class="py data">
@@ -1639,6 +1648,7 @@ be executed once per row.</p>
 </ul>
 </li>
 <li><a class="reference internal" 
href="#module-adbc_driver_manager.dbapi">DBAPI 2.0 API</a><ul>
+<li><a class="reference internal" href="#resource-management">Resource 
Management</a></li>
 <li><a class="reference internal" href="#id1">Constants &amp; Enums</a><ul>
 <li><a class="reference internal" 
href="#adbc_driver_manager.dbapi.apilevel"><code class="docutils literal 
notranslate"><span class="pre">apilevel</span></code></a></li>
 <li><a class="reference internal" 
href="#adbc_driver_manager.dbapi.paramstyle"><code class="docutils literal 
notranslate"><span class="pre">paramstyle</span></code></a></li>
diff --git a/main/searchindex.js b/main/searchindex.js
index 0ba970d..7389110 100644
--- a/main/searchindex.js
+++ b/main/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"docnames": ["cpp/api/adbc", "cpp/api/adbc_driver_manager", 
"cpp/api/index", "cpp/concurrency", "cpp/driver_manager", "cpp/index", 
"development/contributing", "development/nightly", "development/releasing", 
"driver/cpp/index", "driver/cpp/postgresql", "driver/cpp/sqlite", 
"driver/go/flight_sql", "driver/go/index", "driver/installation", 
"driver/java/flight_sql", "driver/java/index", "driver/java/jdbc", 
"driver/status", "faq", "format/comparison", "format/specification",  [...]
\ No newline at end of file
+Search.setIndex({"docnames": ["cpp/api/adbc", "cpp/api/adbc_driver_manager", 
"cpp/api/index", "cpp/concurrency", "cpp/driver_manager", "cpp/index", 
"development/contributing", "development/nightly", "development/releasing", 
"driver/cpp/index", "driver/cpp/postgresql", "driver/cpp/sqlite", 
"driver/go/flight_sql", "driver/go/index", "driver/installation", 
"driver/java/flight_sql", "driver/java/index", "driver/java/jdbc", 
"driver/status", "faq", "format/comparison", "format/specification",  [...]
\ No newline at end of file

Reply via email to