Skip to content

Changes in docs for release: v0.10.0 #387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/cluster/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.auth</code></h1>
import urllib3
from ..utils.kube_api_helpers import _kube_api_error_handling

from typing import Optional

global api_client
api_client = None
global config_path
Expand Down Expand Up @@ -221,7 +223,7 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.auth</code></h1>
return config_path


def api_config_handler() -&gt; str:
def api_config_handler() -&gt; Optional[client.ApiClient]:
&#34;&#34;&#34;
This function is used to load the api client if the user has logged in
&#34;&#34;&#34;
Expand All @@ -239,15 +241,15 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.auth</code></h1>
<h2 class="section-title" id="header-functions">Functions</h2>
<dl>
<dt id="codeflare_sdk.cluster.auth.api_config_handler"><code class="name flex">
<span>def <span class="ident">api_config_handler</span></span>(<span>) ‑> str</span>
<span>def <span class="ident">api_config_handler</span></span>(<span>) ‑> Optional[kubernetes.client.api_client.ApiClient]</span>
</code></dt>
<dd>
<div class="desc"><p>This function is used to load the api client if the user has logged in</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def api_config_handler() -&gt; str:
<pre><code class="python">def api_config_handler() -&gt; Optional[client.ApiClient]:
&#34;&#34;&#34;
This function is used to load the api client if the user has logged in
&#34;&#34;&#34;
Expand Down
Loading