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

@@ -77,7 +77,8 @@ class DocumentProcess(object):
77
77
  self.status = DocumentProcessStatus.PROCESSING
78
78
  self.started_at = datetime.now()
79
79
 
80
- def failed(self):
80
+ def failed(self, error_message: Optional[str] = None):
81
+ self.failed_reason = error_message
81
82
  self.status = DocumentProcessStatus.FAILED
82
83
  self.failed_at = datetime.now()
83
84
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: documente_shared
3
- Version: 0.1.35
3
+ Version: 0.1.36
4
4
  Summary: Shared utilities for Documente AI projects
5
5
  License: MIT
6
6
  Author: Tech
@@ -5,7 +5,7 @@ documente_shared/application/time_utils.py,sha256=XDH27cKgoTFO8ad1JgrxKaeT7sZ1fd
5
5
  documente_shared/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  documente_shared/domain/base_enum.py,sha256=DojAfn-zQdtjtImeHUpBzE6TBTm07XrbMOdW3h8RVd8,1449
7
7
  documente_shared/domain/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- documente_shared/domain/entities/document_process.py,sha256=WtDz1WMVVgn2FvmTDRnQNVLl90Sp06P-ta4p8RTddfQ,7436
8
+ documente_shared/domain/entities/document_process.py,sha256=vDcri1NahlrTtE7wDStmMa135fqQZj2msW9xIQ0rF9E,7516
9
9
  documente_shared/domain/entities/document_process_metadata.py,sha256=rBHkDkoKwrxReKtXIScU1vrCO_6bg2LwWhrtXMcQ8TA,2351
10
10
  documente_shared/domain/enums.py,sha256=s3bFDkpplWvJWNpUwPOkC9a3OYUYsx8uTusN_FrzNQk,463
11
11
  documente_shared/domain/repositories.py,sha256=KEYbJKsfrRkJBCIjXQA3S5jdNqE5lUcQuvHiZig4B6M,526
@@ -14,6 +14,6 @@ documente_shared/infrastructure/dynamo_repositories.py,sha256=WVyubQO8pUwm_y6VYU
14
14
  documente_shared/infrastructure/dynamo_table.py,sha256=Lod8vwUCGX65SNH_8hvlpG6rRUYb4jfZqoFHD1YloAA,2096
15
15
  documente_shared/infrastructure/s3_bucket.py,sha256=Nf4bHSC3TJeaKvOQSVtV1hG8dWqEZZnA-JWU0PNTw24,1940
16
16
  documente_shared/infrastructure/sqs_queue.py,sha256=PSiTAnjXvQ-W-9mzLpH2UjbQJTvYkMiaxNaMecF-cR4,1505
17
- documente_shared-0.1.35.dist-info/METADATA,sha256=G_XmvO8Sciyg2UqOFU1YsXw-kPnDacy8Ih2fspFIOdI,640
18
- documente_shared-0.1.35.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
19
- documente_shared-0.1.35.dist-info/RECORD,,
17
+ documente_shared-0.1.36.dist-info/METADATA,sha256=eQyCfq-MWXDXPIbsZlBbGYJR-0BfzZtTOSNIoEkJeD0,640
18
+ documente_shared-0.1.36.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
19
+ documente_shared-0.1.36.dist-info/RECORD,,