Skip to content

Commit

Permalink
Add client_id & client_credentials_secret as empty string when no…
Browse files Browse the repository at this point in the history
…t set

Signed-off-by: Austin Liu <[email protected]>
  • Loading branch information
austin362667 committed Sep 20, 2024
1 parent 377ca4a commit 0a564bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/remote/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def client(self) -> SynchronousFlyteClient:
"""Return a SynchronousFlyteClient for additional operations."""
if not self._client_initialized:
self._client = SynchronousFlyteClient(
endpoint=self.config.platform.endpoint, insecure=self.config.platform.insecure, auth_mode=str(self.config.platform.auth_mode), client_id=self.config.platform.client_id, client_credentials_secret=self.config.platform.client_credentials_secret, **self._kwargs
endpoint=self.config.platform.endpoint, insecure=self.config.platform.insecure, auth_mode=str(self.config.platform.auth_mode), client_id=self.config.platform.client_id or "", client_credentials_secret=self.config.platform.client_credentials_secret or "", **self._kwargs
)
self._client_initialized = True
return self._client
Expand Down

0 comments on commit 0a564bd

Please sign in to comment.