Skip to content

Commit

Permalink
Merge pull request #88 from u2d-ai/0.0.88
Browse files Browse the repository at this point in the history
feat: add field embedding_attachments to separate attachments
  • Loading branch information
SekachVitaliy authored Aug 3, 2023
2 parents 6946223 + babe265 commit 9ebcddd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# msaDocModels Release Notes
## Possible future features:

# 0.0.88

- add field embedding_attachments to separate attachments

# 0.0.87

- add patterns for models TextExtractionFormatsInput
Expand Down
2 changes: 1 addition & 1 deletion msaDocModels/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import glob
from os.path import basename, dirname, isfile, join

version = "0.0.87"
version = "0.0.88"
__author__ = "Stefan Welcker"
__copyright__ = "Copyright 2022, U2D.ai"
__license__ = "MIT"
Expand Down
5 changes: 4 additions & 1 deletion msaDocModels/sdu.py
Original file line number Diff line number Diff line change
Expand Up @@ -1961,19 +1961,22 @@ class EmailConverterResponse(BaseModel):
Attributes:
content_attachments: list of SDUAttachments.
embedding_attachments: list of inline SDUAttachments.
txt_content: SDUText.
msg: SDUEmail.
content_unzipped_files: object of
content_unzipped_files: object of unzipped files.
"""

content_attachments: List[SDUAttachment]
embedding_attachments: List[SDUAttachment]
txt_content: SDUText
msg: SDUEmail
content_unzipped_files: Optional[List[HTMLConverterResponse]]


class EmailConverterWithoutAttachmentsResponse(EmailConverterResponse):
content_attachments: Optional[List[SDUAttachment]]
embedding_attachments: Optional[List[SDUAttachment]]


class FieldName(str, Enum):
Expand Down

0 comments on commit 9ebcddd

Please sign in to comment.