Skip to content

Commit

Permalink
Be liberal with the compression types
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Feb 6, 2024
1 parent 4a5e338 commit 7ebdac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sagemaker_shim/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def download_and_extract_tarball(*, s3_uri: str, dest: Path) -> None:

f.seek(0)

with tarfile.open(fileobj=f, mode="r:gz") as tar:
with tarfile.open(fileobj=f, mode="r") as tar:
tar.extractall(path=dest, filter="data")


Expand Down

0 comments on commit 7ebdac9

Please sign in to comment.