Commit 64a2743f authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

update

parent 6ea64034
......@@ -217,8 +217,7 @@ class AwsStorage(BlobStorageBase):
)
outfile = io.BytesIO()
s3_client.download_fileobj(bucket, object_name, outfile)
outfile.seek(0)
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