Skip to content

Commit d79f1f3

Browse files
author
Eli Davidson
committed
shorten doc string
1 parent e9c2dc2 commit d79f1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/jumpstart/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1633,7 +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. Falls-back to string ordering when not using sem-ver."""
1636+
"""Returns the latest version using sem-ver when possible."""
16371637
try:
16381638
return None if not versions else max(versions, key=Version)
16391639
except InvalidVersion:

0 commit comments

Comments
 (0)