Commit 84b96fe0 authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

update

parent 64a2743f
......@@ -217,7 +217,8 @@ class AwsStorage(BlobStorageBase):
)
outfile = io.BytesIO()
s3_client.download_fileobj(bucket, object_name, outfile)
return outfile.getvalue()
return outfile
# return outfile.getvalue()
# return obj['Body'].read()
async def download_metadata(self, tenant: Tenant, object_name: str,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment