Skip to content

Commit e9c2dc2

Browse files
author
Eli Davidson
committed
fix doc string
1 parent 4af99f2 commit e9c2dc2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sagemaker/jumpstart/utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,9 +1633,7 @@ def get_draft_model_content_bucket(provider: Dict, region: str) -> str:
16331633

16341634

16351635
def get_latest_version(versions: List[str]) -> Optional[str]:
1636-
"""Returns the latest version using sem-ver.
1637-
falls-back to string ordering when not using sem-ver.
1638-
"""
1636+
"""Returns the latest version using sem-ver. Falls-back to string ordering when not using sem-ver."""
16391637
try:
16401638
return None if not versions else max(versions, key=Version)
16411639
except InvalidVersion:

0 commit comments

Comments
 (0)