Reading the body of an S3 object returns bytes
@@ -70,7 +70,7 @@ class LazyUxBucket:
# todo: We could just compress right here instead of allocating this intermediary
# Or we could compress the files in s3?
- return obj.get()["Body"].read()
+ return cast(bytes, obj.get()["Body"].read())
def _retrieve_bucket(self) -> Bucket:
if IS_LOCAL:
