Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerbinns committed Sep 13, 2023
1 parent ce5596f commit 0671911
Show file tree
Hide file tree
Showing 43 changed files with 1,012 additions and 849 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: daf38c62d83e33b356b109b3d72affc7
config: 22e5b5a366d8c091154229ef6a20f2e9
tags: 645f666f9bcd5a90fca523b33c5a78b7
12 changes: 6 additions & 6 deletions _modules/apsw/bestpractice.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>apsw.bestpractice &mdash; APSW 3.43.0.0 documentation</title>
<title>apsw.bestpractice &mdash; APSW 3.43.1.0 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
Expand All @@ -13,7 +13,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=c3a517ee"></script>
<script src="../../_static/documentation_options.js?v=b2705db7"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand All @@ -36,7 +36,7 @@
<img src="../../_static/apswlogo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
3.43.0.0
3.43.1.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -195,14 +195,14 @@ <h1>Source code for apsw.bestpractice</h1><div class="highlight"><pre>
<a class="viewcode-back" href="../../bestpractice.html#apsw.bestpractice.apply">[docs]</a>
<span class="k">def</span> <span class="nf">apply</span><span class="p">(</span><span class="n">which</span><span class="p">:</span> <span class="nb">tuple</span><span class="p">[</span><span class="n">Callable</span><span class="p">,</span> <span class="o">...</span><span class="p">])</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
<span class="s2">&quot;Applies library immediately and connection to new connections&quot;</span>
<span class="n">hooks</span> <span class="o">=</span> <span class="p">[]</span>
<span class="n">hooks</span> <span class="p">:</span> <span class="nb">list</span><span class="p">[</span><span class="n">Callable</span><span class="p">]</span> <span class="o">=</span> <span class="p">[]</span>
<span class="k">for</span> <span class="n">func</span> <span class="ow">in</span> <span class="n">which</span><span class="p">:</span>
<span class="k">if</span> <span class="n">func</span><span class="o">.</span><span class="vm">__name__</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span><span class="s2">&quot;connection_&quot;</span><span class="p">):</span>
<span class="n">hooks</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">func</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">func</span><span class="p">()</span>

<span class="k">def</span> <span class="nf">best_practise_connection_apply</span><span class="p">(</span><span class="n">connection</span><span class="p">:</span> <span class="n">apsw</span><span class="o">.</span><span class="n">Connection</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">best_practise_connection_apply</span><span class="p">(</span><span class="n">connection</span><span class="p">:</span> <span class="n">apsw</span><span class="o">.</span><span class="n">Connection</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
<span class="k">for</span> <span class="n">func</span> <span class="ow">in</span> <span class="n">hooks</span><span class="p">:</span>
<span class="n">func</span><span class="p">(</span><span class="n">connection</span><span class="p">)</span>

Expand All @@ -218,7 +218,7 @@ <h1>Source code for apsw.bestpractice</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; <a href="../../copyright.html">Copyright</a> 2004-2023, Roger Binns &lt;[email protected]&gt;.
<span class="lastupdated">Last updated on Aug 25, 2023.
<span class="lastupdated">Last updated on Sep 13, 2023.
</span></p>
</div>

Expand Down
15 changes: 11 additions & 4 deletions _modules/apsw/ext.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>apsw.ext &mdash; APSW 3.43.0.0 documentation</title>
<title>apsw.ext &mdash; APSW 3.43.1.0 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
Expand All @@ -13,7 +13,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=c3a517ee"></script>
<script src="../../_static/documentation_options.js?v=b2705db7"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand All @@ -36,7 +36,7 @@
<img src="../../_static/apswlogo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
3.43.0.0
3.43.1.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -480,6 +480,13 @@ <h1>Source code for apsw.ext</h1><div class="highlight"><pre>
<span class="sd"> :param exc_value: The exception value</span>
<span class="sd"> :param exc_traceback: Traceback for the exception</span>
<span class="sd"> :param file: (default ``sys.stderr``) Where the print goes</span>

<span class="sd"> .. code::</span>

<span class="sd"> try:</span>
<span class="sd"> ....</span>
<span class="sd"> except Exception as exc:</span>
<span class="sd"> apsw.ext.print_augmented_traceback(*sys.exc_info())</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="n">file</span> <span class="o">=</span> <span class="n">file</span> <span class="ow">or</span> <span class="n">sys</span><span class="o">.</span><span class="n">stderr</span>
Expand Down Expand Up @@ -1876,7 +1883,7 @@ <h1>Source code for apsw.ext</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; <a href="../../copyright.html">Copyright</a> 2004-2023, Roger Binns &lt;[email protected]&gt;.
<span class="lastupdated">Last updated on Aug 25, 2023.
<span class="lastupdated">Last updated on Sep 13, 2023.
</span></p>
</div>

Expand Down
Loading

0 comments on commit 0671911

Please sign in to comment.