Skip to content

Commit b19f880

Browse files
authored
fix: Only SHA256 is supported for S3 checksum algorithm (#527)
1 parent fbd8719 commit b19f880

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

obstore/python/obstore/_store/_aws.pyi

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,7 @@ S3Regions: TypeAlias = Literal[
5959
]
6060
"""AWS regions."""
6161

62-
S3ChecksumAlgorithm: TypeAlias = Literal[
63-
"CRC64NVME",
64-
"CRC32",
65-
"CRC32C",
66-
"SHA1",
67-
"SHA256",
68-
]
62+
S3ChecksumAlgorithm: TypeAlias = Literal["SHA256"]
6963
"""S3 Checksum algorithms
7064
7165
From https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#using-additional-checksums

0 commit comments

Comments
 (0)