8000 Merge pull request #119 from u2d-ai/SAM-532/add_processing_document_i… · u2d-ai/msaDocModels@eeb7b98 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit eeb7b98

Browse files
Merge pull request #119 from u2d-ai/SAM-532/add_processing_document_input_model
SAM-532: add processing documents input model
2 parents 1e03c66 + 0e30030 commit eeb7b98

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

docs/release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# msaDocModels Release Notes
22
## Possible future features:
33

4+
# 0.0.113
5+
6+
- add ProcessingDocumentsInput model
7+
48
# 0.0.112
59

610
- add UnzipInputModel models

msaDocModels/sdu.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,24 @@ class TenantIdInput(BaseModel):
9494
tenant_id: UUID4
9595

9696

97+
class ProcessingDocumentsInput(BaseModel):
98+
"""
99+
ProcessingDocumentsInput: Represents the key elements for operating
100+
on registered steps.
101+
102+
Attributes:
103+
subdomain : The subdomain in the registered steps.
104+
project : The project within the subdomain.
105+
stage : The stage within the project.
106+
document_uid : The unique identifier for the document.
107+
"""
108+
109+
subdomain: Optional[str] = None
110+
project: Optional[str] = None
111+
stage: Optional[str] = None
112+
document_uid: Optional[str] = None
113+
114+
97115
class TextInput(BaseModel):
98116
"""
99117
Input model with input_text

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "msaDocModels"
3-
version = "0.0.112"
3+
version = "0.0.113"
44
description = "MSA Document Pydantic Models and Schemas, used to store Parser, NLP, NLU and AI results for processed documents"
55
authors = ["Stefan Welcker"]
66
readme = "README.md"

0 commit comments

Comments
 (0)
0