Skip to content

Commit

Permalink
Merge pull request #91 from u2d-ai/0.0.91
Browse files Browse the repository at this point in the history
feat: added optional tenant_id and document_id for TemplateInput model
  • Loading branch information
eduard-terletskiy authored Aug 23, 2023
2 parents 601b85d + d10170d commit 2ec8f3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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.91

- added optional tenant_id and document_id for TemplateInput model

# 0.0.90

- remove docx from model, added optional document_id, fix Barcode models
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.90"
version = "0.0.91"
__author__ = "Stefan Welcker"
__copyright__ = "Copyright 2022, U2D.ai"
__license__ = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions msaDocModels/sdu.py
Original file line number Diff line number Diff line change
Expand Up @@ -6163,8 +6163,8 @@ class TemplateInput(BaseModel):
template_name: str
doc_data: Dict = {}
template_version: str = "v1"
tenant_id: str
document_id: str
tenant_id: Optional[str]
document_id: Optional[str]
template_content: Optional[TemplateContent] = {}


Expand Down

0 comments on commit 2ec8f3c

Please sign in to comment.