mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
fix: S3 secondary storage client and UI fixes (#7587)
* fix storage selector broken * Fix writeS3File not returning secondary storage
This commit is contained in:
@@ -975,7 +975,7 @@ class Windmill:
|
||||
).json()
|
||||
except Exception as e:
|
||||
raise Exception("Could not write file to S3") from e
|
||||
return S3Object(s3=response["file_key"])
|
||||
return S3Object(s3=response["file_key"], storage=s3object["storage"])
|
||||
|
||||
def sign_s3_objects(self, s3_objects: list[S3Object | str]) -> list[S3Object]:
|
||||
"""Sign S3 objects for use by anonymous users in public apps.
|
||||
|
||||
Reference in New Issue
Block a user