Skip to content

Commit 7d54193

Browse files
committed
Updated pr.
1 parent 16ff2a5 commit 7d54193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/common/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def set_auth(
117117
>>> ads.set_auth("api_key", oci_config_location = "other_config_location") # use non-default oci_config_location
118118
119119
>>> ads.set_auth("api_key", client_kwargs={"timeout": 60}) # default signer with connection and read timeouts set to 60 seconds for the client.
120-
>>> ads.set_auth("api_key", )
120+
>>> ads.set_auth("api_key", signer_kwargs={"key_content": "private_key_content"}) # Create config using key content
121121
>>> other_config = oci.config.from_file("other_config_location", "OTHER_PROFILE") # Create non-default config
122122
>>> ads.set_auth(config=other_config) # Set api keys type of authentication based on provided config
123123

0 commit comments

Comments
 (0)