Custom file metadata not persisted across user-defined functions in AWS S3 Multipart

Thanks so much! Appreciate the answer and the new Github issue.

Knowing that it’s a bug and is (likely) a relatively simple fix, if it should be fixed in code, I would potentially be willing to submit a PR. The main thing that would be useful to know to contribute a fix is if there are any particular characteristics you’d like to see in the fix (for example, implementing a wrapper for such function options, refreshing the file when functions are called by calling them with getFile(file.id) instead of file, or simply inserting a file = getFile(file.id) after each function is called). Or if you think there’s a reason, like performance, that this issue should be documented as a constraint rather than fixed via code, then I would leave that to you/other maintainers to document.