Skip to content

Commit

Permalink
Deploying to gh-pages from @ 7a58f15 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JAVGan committed Aug 12, 2024
1 parent e0198b4 commit 535c65e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions _modules/cloudpub/ms_azure/session.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ <h1>Source code for cloudpub.ms_azure.session</h1><div class="highlight"><pre>
<span class="bp">self</span><span class="o">.</span><span class="n">resource</span> <span class="o">=</span> <span class="n">base_url</span><span class="p">(</span><span class="n">prefix_url</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_mandatory_params</span> <span class="o">=</span> <span class="n">mandatory_params</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_token</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">AccessToken</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span>
<span class="bp">self</span><span class="o">.</span><span class="n">publisher</span> <span class="o">=</span> <span class="n">auth_keys</span><span class="p">[</span><span class="s2">&quot;AZURE_PUBLISHER_NAME&quot;</span><span class="p">]</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_additional_args</span> <span class="o">=</span> <span class="n">kwargs</span>
<span class="bp">self</span><span class="o">.</span><span class="n">session</span> <span class="o">=</span> <span class="n">requests</span><span class="o">.</span><span class="n">Session</span><span class="p">()</span>
<span class="n">total_retries</span> <span class="o">=</span> <span class="n">kwargs</span><span class="o">.</span><span class="n">pop</span><span class="p">(</span><span class="s2">&quot;total_retries&quot;</span><span class="p">,</span> <span class="mi">5</span><span class="p">)</span>
Expand Down Expand Up @@ -135,7 +134,6 @@ <h1>Source code for cloudpub.ms_azure.session</h1><div class="highlight"><pre>
<span class="k">def</span> <span class="nf">_validate_auth_keys</span><span class="p">(</span><span class="n">auth_keys</span><span class="p">:</span> <span class="n">Dict</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="nb">str</span><span class="p">])</span> <span class="o">-&gt;</span> <span class="n">Dict</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="nb">str</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Validate whether auth_keys contains all required keys.&quot;&quot;&quot;</span>
<span class="n">mandatory_keys</span> <span class="o">=</span> <span class="p">[</span>
<span class="s2">&quot;AZURE_PUBLISHER_NAME&quot;</span><span class="p">,</span>
<span class="s2">&quot;AZURE_CLIENT_ID&quot;</span><span class="p">,</span>
<span class="s2">&quot;AZURE_TENANT_ID&quot;</span><span class="p">,</span>
<span class="s2">&quot;AZURE_API_SECRET&quot;</span><span class="p">,</span>
Expand Down

0 comments on commit 535c65e

Please sign in to comment.