Skip to content

Commit 24e2c1c

Browse files
committed
Addressing cli client bug
1 parent 4de3355 commit 24e2c1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ads/common/oci_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ class OCIClientFactory:
5151
oc.OCIClientFactory(**auth).object_storage # Creates Object storage client using instance principal authentication
5252
"""
5353

54-
def __init__(self, config=(), signer=None, client_kwargs=None):
54+
def __init__(self, config=None, signer=None, client_kwargs=None):
55+
if not config:
56+
config = {}
5557
self.config = config
5658
self.signer = signer
5759
self.client_kwargs = client_kwargs

0 commit comments

Comments
 (0)