Skip to content
Merged
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
4 changes: 4 additions & 0 deletions src/codeflare_sdk/common/kubernetes_cluster/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,7 @@ def set_api_client(new_client: client.ApiClient):
global api_client, config_path
api_client = new_client
config_path = "custom" # Mark as configured with custom client
# verify the client works by making a simple API call
client.AuthenticationApi(api_client).get_api_group()
# print message confirming successful configuration
print("Custom API client has been set and verified successfully.")
Loading