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

@@ -88,9 +88,10 @@ class DocumentProcessing(object):
88
88
  DocumentProcessingStatus.FAILED,
89
89
  ]
90
90
 
91
- def pending(self):
91
+ def pending(self, timezone: tzinfo = la_paz_tz):
92
92
  self.status = DocumentProcessingStatus.PENDING
93
93
  self.started_at = None
94
+ self.uploaded_at = datetime.now(tz=timezone)
94
95
 
95
96
  def enqueue(self, timezone: tzinfo = la_paz_tz):
96
97
  self.status = DocumentProcessingStatus.ENQUEUED
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: documente_shared
3
- Version: 0.1.56
3
+ Version: 0.1.58
4
4
  Summary: Shared utilities for Documente AI projects
5
5
  License: MIT
6
6
  Author: Tech
@@ -8,7 +8,7 @@ documente_shared/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
8
8
  documente_shared/domain/base_enum.py,sha256=DojAfn-zQdtjtImeHUpBzE6TBTm07XrbMOdW3h8RVd8,1449
9
9
  documente_shared/domain/constants.py,sha256=jOlMKFq12FgiYMJcQHku8IVwuOE5t-HEPuSV_zEeIFo,56
10
10
  documente_shared/domain/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- documente_shared/domain/entities/document.py,sha256=riJAKamDKDT8ZxAhhLt1_YasRIRzPhwXu146OvRfQfo,10649
11
+ documente_shared/domain/entities/document.py,sha256=tQjmlvJ8i-uzfFUwTeO6Mt5D8a28-GICluC7JSFp1o0,10732
12
12
  documente_shared/domain/entities/document_metadata.py,sha256=Oa-c0xJODXaGtFkNxt9k86rSWGxY2LHVDOgu9tQxCGY,2354
13
13
  documente_shared/domain/enums.py,sha256=zdy3kRWfKVxc-4wv5TLdQl-AbZkwsXEqlUZppCsMlsY,1797
14
14
  documente_shared/domain/repositories.py,sha256=g3qLUy2kT8esmvU4VxxSVnDaXeySKKQ7mUvIvxOwh9A,757
@@ -17,6 +17,6 @@ documente_shared/infrastructure/dynamo_repositories.py,sha256=SEad_HLppp2h_BKDSz
17
17
  documente_shared/infrastructure/dynamo_table.py,sha256=dK05KgFvIYCmOdMpq9-OV_OBrP6cCngiUikCJrxlwt4,2112
18
18
  documente_shared/infrastructure/s3_bucket.py,sha256=vT_yN42RFQXubtUn8ln-j13Os_-25UGClVtXg5Bkv6I,1932
19
19
  documente_shared/infrastructure/sqs_queue.py,sha256=PSiTAnjXvQ-W-9mzLpH2UjbQJTvYkMiaxNaMecF-cR4,1505
20
- documente_shared-0.1.56.dist-info/METADATA,sha256=Df_UqJn8NyQKaDvdCMl2X-Y-Q8LNsx8WSEDwLC7gy2U,800
21
- documente_shared-0.1.56.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
22
- documente_shared-0.1.56.dist-info/RECORD,,
20
+ documente_shared-0.1.58.dist-info/METADATA,sha256=F2oyPa6eFGcackN1jGN9otvMJPNMd4av51p9vomH26I,800
21
+ documente_shared-0.1.58.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
22
+ documente_shared-0.1.58.dist-info/RECORD,,