Skip to content

Commit 86cd199

Browse files
author
Eli Davidson
committed
fix linter issues
1 parent 0be415a commit 86cd199

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sagemaker/jumpstart/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1635,5 +1635,5 @@ def get_draft_model_content_bucket(provider: Dict, region: str) -> str:
16351635
def get_latest_version(versions: List[str]) -> Optional[str]:
16361636
try:
16371637
return None if not versions else max(versions, key=Version)
1638-
except InvalidVersion as e:
1638+
except InvalidVersion:
16391639
return max(versions)

tests/unit/sagemaker/jumpstart/test_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
BASE_PROPRIETARY_SPEC,
5555
BASE_PROPRIETARY_MANIFEST,
5656
)
57-
from sagemaker.jumpstart.utils import get_formatted_manifest, get_jumpstart_content_bucket
57+
from sagemaker.jumpstart.utils import get_jumpstart_content_bucket
5858

5959

6060
@patch.object(JumpStartModelsCache, "_retrieval_function", patched_retrieval_function)

0 commit comments

Comments
 (0)