Closed clementsirieix closed 11 months ago
## Description When fetching an `Attachment` I should override the `url` with a signed url based on `objectKey`. Let's cache the read `signedUrl` to make sure to not duplicate stuff. ## Definition of Done * Fetching an `Attachment` I should override the `url` property if the `objectKey` property exist * Ensure that it works when fetching from other relations (e.g. `Step`)
Changes
Following Azure storage support, we need to update the file upload method. Azure require a
PUT
request, so I'm returning amethod
field. Similarly a specific header need to be passed so I'm providing custom headers, in aheaders
field.How to test?
python examples/file-upload.py