Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions indico/types/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ class EmailOptions(BaseType):
include_sections: Optional[IncludeSections]
unpack: Optional[bool]
preserve_body_whitespace: Optional[bool]
embed_inline_images: Optional[bool]
html_renderer_version: Optional[int]
msg_converter_version: Optional[int]


class OcrOptionsInput:
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/queries/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ def test_create_with_email_options_readapi(indico):
email_config = {
"include_sections": {"header": True, "body": True, "attachments": True},
"unpack": True,
"embed_inline_images": True,
"html_renderer_version": 1,
"msg_converter_version": 1,
}
dataset = client.call(
CreateEmptyDataset(
Expand Down