documente_shared 0.1.131b3__py3-none-any.whl → 0.1.131b5__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 +8 -2
- {documente_shared-0.1.131b3.dist-info → documente_shared-0.1.131b5.dist-info}/METADATA +1 -1
- {documente_shared-0.1.131b3.dist-info → documente_shared-0.1.131b5.dist-info}/RECORD +4 -4
- {documente_shared-0.1.131b3.dist-info → documente_shared-0.1.131b5.dist-info}/WHEEL +0 -0
|
@@ -292,7 +292,10 @@ class DocumentProcessing(object):
|
|
|
292
292
|
'metadata': self.metadata,
|
|
293
293
|
'completed_at': self.completed_at.isoformat() if self.completed_at else None,
|
|
294
294
|
'metadata_items': [metadata.to_dict for metadata in self.metadata_items],
|
|
295
|
-
'document_size':
|
|
295
|
+
'document_size': (
|
|
296
|
+
normalize_number(self.document_size)
|
|
297
|
+
if self.document_size else None
|
|
298
|
+
),
|
|
296
299
|
'document_pages': self.document_pages,
|
|
297
300
|
}
|
|
298
301
|
|
|
@@ -394,6 +397,9 @@ class DocumentProcessing(object):
|
|
|
394
397
|
DocumentProcessingMetadata.from_dict(metadata)
|
|
395
398
|
for metadata in data.get('metadata_items', [])
|
|
396
399
|
],
|
|
397
|
-
document_size=
|
|
400
|
+
document_size=(
|
|
401
|
+
Decimal(data.get('document_size'))
|
|
402
|
+
if data.get('document_size') else None
|
|
403
|
+
),
|
|
398
404
|
)
|
|
399
405
|
|
|
@@ -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=DDvm4ylTLOrJXmmjefISdOk0bN7rj1lZ9PzD6RhGQSk,14457
|
|
18
18
|
documente_shared/domain/entities/document_metadata.py,sha256=ygyFIC5qwxlm8DUM5kvVFny9zJfPQS8vNLM2br5XsQ8,2353
|
|
19
19
|
documente_shared/domain/entities/in_memory_document.py,sha256=6LlUtF9YbFPNxP-ytrWkFYQzvdJJJ9iC8X4_U125hEE,2113
|
|
20
20
|
documente_shared/domain/entities/processing_case.py,sha256=D57zP704mBtt563Pbmd41PFQSna4chVWsWTR_2ZAtTU,6602
|
|
@@ -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.131b5.dist-info/METADATA,sha256=hLm49qnkZqBAUVwM0zr6ax4trCs01whASzXSfcQq1hI,965
|
|
59
|
+
documente_shared-0.1.131b5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
60
|
+
documente_shared-0.1.131b5.dist-info/RECORD,,
|
|
File without changes
|