From b44ac63153a3538c5fd0728ec47222d73b21875d Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Thu, 7 Aug 2025 11:19:10 -0400 Subject: [PATCH] fix: Only SHA256 is supported for S3 checksum algorithm --- obstore/python/obstore/_store/_aws.pyi | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/obstore/python/obstore/_store/_aws.pyi b/obstore/python/obstore/_store/_aws.pyi index ca3840c8..3efa8bb7 100644 --- a/obstore/python/obstore/_store/_aws.pyi +++ b/obstore/python/obstore/_store/_aws.pyi @@ -59,13 +59,7 @@ S3Regions: TypeAlias = Literal[ ] """AWS regions.""" -S3ChecksumAlgorithm: TypeAlias = Literal[ - "CRC64NVME", - "CRC32", - "CRC32C", - "SHA1", - "SHA256", -] +S3ChecksumAlgorithm: TypeAlias = Literal["SHA256"] """S3 Checksum algorithms From https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#using-additional-checksums