Skip to content

Commit 2441f4f

Browse files
Changes in docs for release: v0.10.0
1 parent e44dd8e commit 2441f4f

File tree

8 files changed

+922
-182
lines changed

8 files changed

+922
-182
lines changed

Diff for: docs/cluster/auth.html

+5-3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.auth</code></h1>
5858
import urllib3
5959
from ..utils.kube_api_helpers import _kube_api_error_handling
6060

61+
from typing import Optional
62+
6163
global api_client
6264
api_client = None
6365
global config_path
@@ -221,7 +223,7 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.auth</code></h1>
221223
return config_path
222224

223225

224-
def api_config_handler() -&gt; str:
226+
def api_config_handler() -&gt; Optional[client.ApiClient]:
225227
&#34;&#34;&#34;
226228
This function is used to load the api client if the user has logged in
227229
&#34;&#34;&#34;
@@ -239,15 +241,15 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.auth</code></h1>
239241
<h2 class="section-title" id="header-functions">Functions</h2>
240242
<dl>
241243
<dt id="codeflare_sdk.cluster.auth.api_config_handler"><code class="name flex">
242-
<span>def <span class="ident">api_config_handler</span></span>(<span>) ‑> str</span>
244+
<span>def <span class="ident">api_config_handler</span></span>(<span>) ‑> Optional[kubernetes.client.api_client.ApiClient]</span>
243245
</code></dt>
244246
<dd>
245247
<div class="desc"><p>This function is used to load the api client if the user has logged in</p></div>
246248
<details class="source">
247249
<summary>
248250
<span>Expand source code</span>
249251
</summary>
250-
<pre><code class="python">def api_config_handler() -&gt; str:
252+
<pre><code class="python">def api_config_handler() -&gt; Optional[client.ApiClient]:
251253
&#34;&#34;&#34;
252254
This function is used to load the api client if the user has logged in
253255
&#34;&#34;&#34;

0 commit comments

Comments
 (0)