Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1d975e7 πŸš€
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-rogers committed Dec 3, 2024
1 parent a3e5390 commit 17940ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ <h1>Source code for whylogs.api.writer.whylabs_transaction_writer</h1><div class
<span class="n">transaction_id</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="p">):</span>
<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">org_id</span><span class="p">,</span> <span class="n">api_key</span><span class="p">,</span> <span class="n">dataset_id</span><span class="p">,</span> <span class="n">api_client</span><span class="p">,</span> <span class="n">ssl_ca_cert</span><span class="p">,</span> <span class="n">_timeout_seconds</span><span class="p">,</span> <span class="n">whylabs_client</span><span class="p">)</span>
<span class="n">transaction_id</span> <span class="o">=</span> <span class="n">transaction_id</span> <span class="ow">or</span> <span class="bp">self</span><span class="o">.</span><span class="n">_whylabs_client</span><span class="o">.</span><span class="n">get_transaction_id</span><span class="p">()</span> <span class="c1"># type: ignore</span>
<span class="n">transaction_id</span> <span class="o">=</span> <span class="n">transaction_id</span> <span class="ow">or</span> <span class="bp">self</span><span class="o">.</span><span class="n">_whylabs_client</span><span class="o">.</span><span class="n">_transaction_id</span> <span class="ow">or</span> <span class="bp">self</span><span class="o">.</span><span class="n">_whylabs_client</span><span class="o">.</span><span class="n">get_transaction_id</span><span class="p">()</span> <span class="c1"># type: ignore</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_whylabs_client</span><span class="o">.</span><span class="n">_transaction_id</span> <span class="o">=</span> <span class="n">transaction_id</span> <span class="c1"># type: ignore</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_aborted</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span>

Expand Down

0 comments on commit 17940ef

Please sign in to comment.