Skip to content

Commit

Permalink
fix s3hash
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-sigurd committed Jul 17, 2024
1 parent e715f29 commit ad97547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambdas/s3hash/src/t4_lambda_s3hash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def sha256_chunked(cls, value: bytes):
def for_parts(cls, checksums: T.Sequence[bytes]):
return cls.sha256_chunked(hash_parts(checksums))

_EMPTY_HASH = hashlib.sha256().digest()
_EMPTY_HASH: T.ClassVar[bytes] = hashlib.sha256().digest()

@classmethod
def empty(cls):
Expand Down

0 comments on commit ad97547

Please sign in to comment.