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

@@ -27,6 +27,7 @@ class DocumentProcessing(object):
27
27
  status: DocumentProcessingStatus
28
28
  category: DocumentProcessingCategory
29
29
  file_path: Optional[str] = None
30
+ file_pdf_path: Optional[str] = None
30
31
  file_bytes: Optional[bytes] = None
31
32
  sub_category: Optional[DocumentProcessingSubCategory] = None
32
33
  uploaded_from: Optional[DocumentProcessingSource] = None
@@ -228,6 +229,7 @@ class DocumentProcessing(object):
228
229
  self.digest == other.digest
229
230
  and self.status == other.status
230
231
  and self.file_path == other.file_path
232
+ and self.file_pdf_path == other.file_pdf_path
231
233
  and self.issued_at == other.issued_at
232
234
  and self.uploaded_at == other.uploaded_at
233
235
  and self.enqueued_at == other.enqueued_at
@@ -242,6 +244,7 @@ class DocumentProcessing(object):
242
244
  'digest': self.digest,
243
245
  'status': str(self.status),
244
246
  'file_path': self.file_path,
247
+ 'file_pdf_path': self.file_pdf_path,
245
248
  'category': (
246
249
  str(self.category)
247
250
  if self.category else None
@@ -298,6 +301,7 @@ class DocumentProcessing(object):
298
301
  'status',
299
302
  'metadata',
300
303
  'file_path',
304
+ 'file_pdf_path',
301
305
  'file_bytes',
302
306
  'category',
303
307
  'sub_category',
@@ -335,6 +339,7 @@ class DocumentProcessing(object):
335
339
  digest=data.get('digest'),
336
340
  status=DocumentProcessingStatus.from_value(data.get('status')),
337
341
  file_path=data.get('file_path'),
342
+ file_pdf_path=data.get('file_pdf_path'),
338
343
  category=(
339
344
  DocumentProcessingCategory.from_value(data.get('category'))
340
345
  if data.get('category') else None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: documente_shared
3
- Version: 0.1.129
3
+ Version: 0.1.130
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=5QCHvr99Jh7TDrRSUqseeeGlXRtRoPXeXuGLN0paLik,13195
17
+ documente_shared/domain/entities/document.py,sha256=F8W4-4I2ngzVGuiWI0CRTQGleHVmobv13e1sn0_0Wng,13424
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.129.dist-info/METADATA,sha256=DTI1j08IWhuCuRBbJSDgHHmyVIKGOKEwaJu3IIqm-eM,963
59
- documente_shared-0.1.129.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
60
- documente_shared-0.1.129.dist-info/RECORD,,
58
+ documente_shared-0.1.130.dist-info/METADATA,sha256=A046ecKc3lOAdobx6hyjiBzJVC9ivpHBfFQ_eg_m7XQ,963
59
+ documente_shared-0.1.130.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
60
+ documente_shared-0.1.130.dist-info/RECORD,,