Skip to content

Commit f310dbb

Browse files
remove defaults
1 parent f228286 commit f310dbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ads/aqua/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ def known_realm():
743743
return os.environ.get("CONDA_BUCKET_NS") in AQUA_GA_LIST
744744

745745

746-
def get_ocid_substring(ocid: str, key_len: int = 8) -> str:
747-
"""This helper function returns the last n characters of the ocid specified by key_len parameter, which defaults
748-
to 8. If ocid is None or length is less than key_len, it returns an empty string."""
746+
def get_ocid_substring(ocid: str, key_len: int) -> str:
747+
"""This helper function returns the last n characters of the ocid specified by key_len parameter.
748+
If ocid is None or length is less than key_len, it returns an empty string."""
749749
return ocid[-key_len:] if ocid and len(ocid) > key_len else ""

0 commit comments

Comments
 (0)