documente_shared 0.1.117__py3-none-any.whl → 0.1.118__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of documente_shared might be problematic. Click here for more details.
- documente_shared/domain/entities/document.py +5 -0
- documente_shared/domain/entities/processing_event.py +6 -0
- {documente_shared-0.1.117.dist-info → documente_shared-0.1.118.dist-info}/METADATA +1 -1
- {documente_shared-0.1.117.dist-info → documente_shared-0.1.118.dist-info}/RECORD +5 -5
- {documente_shared-0.1.117.dist-info → documente_shared-0.1.118.dist-info}/WHEEL +0 -0
|
@@ -278,6 +278,11 @@ class DocumentProcessing(object):
|
|
|
278
278
|
simple_dict.pop('metadata_items')
|
|
279
279
|
return simple_dict
|
|
280
280
|
|
|
281
|
+
@property
|
|
282
|
+
def to_queue_dict(self) -> dict:
|
|
283
|
+
return self.to_dict
|
|
284
|
+
|
|
285
|
+
|
|
281
286
|
def overload(
|
|
282
287
|
self,
|
|
283
288
|
new_instance: 'DocumentProcessing',
|
|
@@ -47,6 +47,12 @@ class ProcessingEvent(object):
|
|
|
47
47
|
'timestamp': self.timestamp.isoformat() if self.timestamp else None,
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
@property
|
|
51
|
+
def to_queue_dict(self) -> dict:
|
|
52
|
+
dict_data = self.to_dict
|
|
53
|
+
dict_data['instance'] = self.instance.to_queue_dict
|
|
54
|
+
return dict_data
|
|
55
|
+
|
|
50
56
|
@classmethod
|
|
51
57
|
def from_dict(cls, data: dict) -> 'ProcessingEvent':
|
|
52
58
|
processing_type = ProcessingType.from_value(data.get('processing_type'))
|
|
@@ -14,7 +14,7 @@ documente_shared/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
|
14
14
|
documente_shared/domain/base_enum.py,sha256=DojAfn-zQdtjtImeHUpBzE6TBTm07XrbMOdW3h8RVd8,1449
|
|
15
15
|
documente_shared/domain/constants.py,sha256=NG5BGaXBr_FnzudjTRPxpDpyiSDdaB_PLCdlYlFUQeU,187
|
|
16
16
|
documente_shared/domain/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
documente_shared/domain/entities/document.py,sha256=
|
|
17
|
+
documente_shared/domain/entities/document.py,sha256=JL-EmqHx3PtPIcVbnhM1lTVjqTTPTALinuScFy4I_ZY,13125
|
|
18
18
|
documente_shared/domain/entities/document_metadata.py,sha256=ygyFIC5qwxlm8DUM5kvVFny9zJfPQS8vNLM2br5XsQ8,2353
|
|
19
19
|
documente_shared/domain/entities/in_memory_document.py,sha256=8JfVxbgqxkU3QvsuWzjpSp-end6JfffYDUSvMvrQsps,2284
|
|
20
20
|
documente_shared/domain/entities/processing_case.py,sha256=6_1J50jyb8XcOiXvGKDJxyLZ6we-RDOmdimalc3h7oM,6451
|
|
@@ -22,7 +22,7 @@ documente_shared/domain/entities/processing_case_filters.py,sha256=harKyu7QEuL1b
|
|
|
22
22
|
documente_shared/domain/entities/processing_case_item.py,sha256=Kqozxf91C0SxOUl1ZbEU6_63Lz16mX4RfDqZ5Kf8mm4,10921
|
|
23
23
|
documente_shared/domain/entities/processing_case_item_filters.py,sha256=R_AvDCB496Lww1qn2OwtltqULKE3IpcJB0ejnmRkg7Q,2009
|
|
24
24
|
documente_shared/domain/entities/processing_documents.py,sha256=YYuTkdCNkqlO8cA0onJsZYtstxGt9M5NMuIO_87lB14,352
|
|
25
|
-
documente_shared/domain/entities/processing_event.py,sha256=
|
|
25
|
+
documente_shared/domain/entities/processing_event.py,sha256=sejo9eM4A6fDDFq3qCX3V1GMGwQVUh_5oJaPDiUwpoc,2350
|
|
26
26
|
documente_shared/domain/entities/scaling.py,sha256=Me1z3X-5NjzPMX-TBQ4xHwE_44tIJegi1QSCHQRNtx4,745
|
|
27
27
|
documente_shared/domain/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
documente_shared/domain/enums/common.py,sha256=wJWYhh98sdCGL_1WodhYLpoT_IYTzkTDOexclpaIM-0,2827
|
|
@@ -55,6 +55,6 @@ documente_shared/infrastructure/services/http_scaling.py,sha256=cIo-61nfIwbtO86E
|
|
|
55
55
|
documente_shared/infrastructure/sqs_queue.py,sha256=KZWeHZ9zmXmrxoNpOQX7GEdDhZ1knbPXgwSwFwJblGg,1504
|
|
56
56
|
documente_shared/presentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
57
|
documente_shared/presentation/presenters.py,sha256=GGAEwefmjCIVepsUA2oZOVLxXbhhiISPM0Jgt6dT6O0,423
|
|
58
|
-
documente_shared-0.1.
|
|
59
|
-
documente_shared-0.1.
|
|
60
|
-
documente_shared-0.1.
|
|
58
|
+
documente_shared-0.1.118.dist-info/METADATA,sha256=o8D95EUnCaQf6Xd0yiCI2V7nxlAoXjoSXEaMMmKZL7M,963
|
|
59
|
+
documente_shared-0.1.118.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
60
|
+
documente_shared-0.1.118.dist-info/RECORD,,
|
|
File without changes
|