0

I am uploading some files to s3 and would like to add some metadata to the file. I can do this manually via the ui but I would like to do this programmatically within a prefect flow.

There is no mention of how to upload metadata here https://docs.prefect.io/api/latest/tasks/aws.html#s3upload

Can this be done? if so how?

No mention of any extra arguments than the ones below i.e. somewhere I can pass metadata

enter image description here

Jay Haran
  • 123
  • 1
  • 9
  • Hi Jay, you are likely better off not using that task because it is also limited to strings or binary blob I think. I think it would be better to do this in native boto3 and then wrap that as a task instead. Something like this: https://stackoverflow.com/questions/33771318/boto3-how-to-create-object-with-metadata inside a task – kvnkho May 25 '22 at 17:10

0 Answers0