Skip to content

Commit 6fd0448

Browse files
authored
Merge branch 'project-codeflare:main' into main
2 parents b5a8384 + 8c3bd91 commit 6fd0448

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pytest = "9.0.3"
6666
coverage = "7.13.1"
6767
pytest-mock = "3.15.1"
6868
pytest-timeout = "2.3.1"
69-
jupyterlab = "4.5.0"
69+
jupyterlab = "4.5.7"
7070
selenium = "4.41.0.202601270013"
7171
webdriver-manager = "4.0.2"
7272

src/codeflare_sdk/common/kubernetes_cluster/auth.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,3 +358,7 @@ def set_api_client(new_client: client.ApiClient):
358358
global api_client, config_path
359359
api_client = new_client
360360
config_path = "custom" # Mark as configured with custom client
361+
# verify the client works by making a simple API call
362+
client.AuthenticationApi(api_client).get_api_group()
363+
# print message confirming successful configuration
364+
print("Custom API client has been set and verified successfully.")

0 commit comments

Comments
 (0)