Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store attachments as a list #1611

Merged
merged 1 commit into from
Mar 8, 2022
Merged

Store attachments as a list #1611

merged 1 commit into from
Mar 8, 2022

Conversation

jwhitlock
Copy link
Member

Store and load attachments as a list of tuples (name, data_stream), rather than a dict {name: data_stream}. This allows multiple attachments to have the same name (or None if filenames are omitted).

This PR fixes #1559

How to test:

@jwhitlock jwhitlock requested a review from say-yawn March 5, 2022 03:09
Store and load attachments as a list of tuples (name, data_stream),
rather than a dict {name: data_stream}. This allows multiple attachments
to have the same name (or None if filenames are omitted).
@groovecoder groovecoder force-pushed the attachments-as-list-1559 branch from cf0fc25 to 56db6a3 Compare March 7, 2022 16:53
@groovecoder
Copy link
Member

I rebased this on the latest main to fix the tests.

Copy link
Contributor

@say-yawn say-yawn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can we wait to merge this? I am waiting for some changes for tomorrow's release and I would like this to bake in Stage before pushing to Prod.

@say-yawn say-yawn added 🛑 Do Not Merge Do not merge this PR, even if approved. and removed 🛑 Do Not Merge Do not merge this PR, even if approved. labels Mar 8, 2022
@say-yawn say-yawn merged commit c9f332e into main Mar 8, 2022
@say-yawn
Copy link
Contributor

say-yawn commented Mar 8, 2022

Merged because the release date is Thursday, not tomorrow.

@groovecoder groovecoder deleted the attachments-as-list-1559 branch March 17, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If multiple attachments have the same filename, only one is forwarded
3 participants