From d33b013e2aa298c05ad7f09701b7cba87abeadc2 Mon Sep 17 00:00:00 2001 From: Jacob Date: Thu, 12 Sep 2024 06:50:12 -0700 Subject: [PATCH] comment on email options --- indico/types/dataset.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/indico/types/dataset.py b/indico/types/dataset.py index 0127f806..da155fec 100644 --- a/indico/types/dataset.py +++ b/indico/types/dataset.py @@ -143,6 +143,15 @@ class IncludeSections(BaseType): class EmailOptions(BaseType): + """ + Email options + + Args: + include_sections: Sections of the email to include after parsing (header, body, attachments) + unpack: Unpack an email and treat it as a multi-file Submission + preserve_body_whitespace: Preserve whitespace in the body of the email + """ + include_sections: Optional[IncludeSections] unpack: Optional[bool] preserve_body_whitespace: Optional[bool]