Skip to content

Commit

Permalink
Deploying to gh-pages from @ c9e203d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Action committed Aug 12, 2024
1 parent cd6761d commit 8ccce77
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 4 deletions.
Binary file modified .doctrees/changes/unreleased.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
5 changes: 5 additions & 0 deletions _modules/exasol/bucketfs/_path.html
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,11 @@ <h1>Source code for exasol.bucketfs._path</h1><div class="highlight"><pre>
<span class="n">new_path</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_path</span> <span class="o">/</span> <span class="p">(</span><span class="n">other</span><span class="o">.</span><span class="n">_path</span> <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">other</span><span class="p">,</span> <span class="bp">cls</span><span class="p">)</span> <span class="k">else</span> <span class="n">other</span><span class="p">)</span>
<span class="k">return</span> <span class="bp">cls</span><span class="p">(</span><span class="n">new_path</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">_bucket_api</span><span class="p">)</span>

<span class="k">def</span> <span class="fm">__eq__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">other</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">other</span><span class="p">,</span> <span class="n">BucketPath</span><span class="p">):</span>
<span class="k">return</span> <span class="kc">False</span>
<span class="k">return</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_path</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">_bucket_api</span><span class="p">)</span> <span class="o">==</span> <span class="p">(</span><span class="n">other</span><span class="o">.</span><span class="n">_path</span><span class="p">,</span> <span class="n">other</span><span class="o">.</span><span class="n">_bucket_api</span><span class="p">)</span>

<span class="k">def</span> <span class="fm">__str__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">return</span> <span class="nb">str</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_path</span><span class="p">)</span>

Expand Down
4 changes: 4 additions & 0 deletions _sources/changes/unreleased.md.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Unreleased

## Bugfixes

* #158: Implemented operator `__eq__` for BucketPath to compare string representation
31 changes: 28 additions & 3 deletions changes/unreleased.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
<label class="toc-overlay-icon toc-header-icon" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
Expand Down Expand Up @@ -281,14 +281,20 @@
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
<label class="toc-overlay-icon toc-content-icon" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
</div>
<article role="main" id="furo-main-content">
<section id="unreleased">
<h1>Unreleased<a class="headerlink" href="#unreleased" title="Permalink to this heading"></a></h1>
<section id="bugfixes">
<h2>Bugfixes<a class="headerlink" href="#bugfixes" title="Permalink to this heading"></a></h2>
<ul class="simple">
<li><p>#158: Implemented operator <code class="docutils literal notranslate"><span class="pre">__eq__</span></code> for BucketPath to compare string representation</p></li>
</ul>
</section>
</section>

</article>
Expand Down Expand Up @@ -334,8 +340,27 @@ <h1>Unreleased<a class="headerlink" href="#unreleased" title="Permalink to this

</footer>
</div>
<aside class="toc-drawer no-toc">
<aside class="toc-drawer">


<div class="toc-sticky toc-scroll">
<div class="toc-title-container">
<span class="toc-title">
On this page
</span>
</div>
<div class="toc-tree-container">
<div class="toc-tree">
<ul>
<li><a class="reference internal" href="#">Unreleased</a><ul>
<li><a class="reference internal" href="#bugfixes">Bugfixes</a></li>
</ul>
</li>
</ul>

</div>
</div>
</div>


</aside>
Expand Down
Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 8ccce77

Please sign in to comment.