documente_shared 0.1.131b3__py3-none-any.whl → 0.1.131b4__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.

@@ -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': self.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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: documente_shared
3
- Version: 0.1.131b3
3
+ Version: 0.1.131b4
4
4
  Summary: Shared utilities for Documente AI projects
5
5
  License: MIT
6
6
  Author: Tech
@@ -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=GPwoeEAhw3BqXgXKdOE19wNwwe1n1gLKwqjjsajx-9g,14263
17
+ documente_shared/domain/entities/document.py,sha256=6vwTql8eMZNRiBO4sYOwnXj19DQenVccoLd-dkvldyQ,14361
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.131b3.dist-info/METADATA,sha256=pLB8W2brNCyetQp7kJEHgIO-8_-rLM44sakWMoms2TE,965
59
- documente_shared-0.1.131b3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
60
- documente_shared-0.1.131b3.dist-info/RECORD,,
58
+ documente_shared-0.1.131b4.dist-info/METADATA,sha256=2mFXloyRc9eNRGjrt_1Z0GcjXFbgMXAmLRGLKmbUTwk,965
59
+ documente_shared-0.1.131b4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
60
+ documente_shared-0.1.131b4.dist-info/RECORD,,