documente_shared 0.1.124__py3-none-any.whl → 0.1.125__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.

@@ -63,9 +63,6 @@ class InMemoryDocument(object):
63
63
  file_bytes = data.get("file_bytes")
64
64
  file_base64 = data.get("file_base64")
65
65
 
66
- if not file_bytes and not file_base64:
67
- raise InMemoryDocumentContentError
68
-
69
66
  if file_bytes and not file_base64:
70
67
  file_base64 = base64.b64encode(file_bytes).decode()
71
68
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: documente_shared
3
- Version: 0.1.124
3
+ Version: 0.1.125
4
4
  Summary: Shared utilities for Documente AI projects
5
5
  License: MIT
6
6
  Author: Tech
@@ -16,7 +16,7 @@ documente_shared/domain/constants.py,sha256=NG5BGaXBr_FnzudjTRPxpDpyiSDdaB_PLCdl
16
16
  documente_shared/domain/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
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
- documente_shared/domain/entities/in_memory_document.py,sha256=8JfVxbgqxkU3QvsuWzjpSp-end6JfffYDUSvMvrQsps,2284
19
+ documente_shared/domain/entities/in_memory_document.py,sha256=CXfOJD_mgxCGIgtHGV85n-RC1gvA8eJg7IpmNHPxbFU,2189
20
20
  documente_shared/domain/entities/processing_case.py,sha256=D57zP704mBtt563Pbmd41PFQSna4chVWsWTR_2ZAtTU,6602
21
21
  documente_shared/domain/entities/processing_case_filters.py,sha256=harKyu7QEuL1bI_Z8_UxkVCMo5r9vHeNHyi_Ja07vjs,1953
22
22
  documente_shared/domain/entities/processing_case_item.py,sha256=XyHCVCOoZawTw70_LyEiLBmWCTV4ScXBmKHjmZoEzuA,10469
@@ -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.124.dist-info/METADATA,sha256=pH_IH9LfyhubYPA6CNV-KEzgtTBJFHq6eaSctcgPfiI,963
59
- documente_shared-0.1.124.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
60
- documente_shared-0.1.124.dist-info/RECORD,,
58
+ documente_shared-0.1.125.dist-info/METADATA,sha256=IxFQzyQVudbpGGdLI1x51VqU2oQzS1QOjGqto278KNk,963
59
+ documente_shared-0.1.125.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
60
+ documente_shared-0.1.125.dist-info/RECORD,,