documente_shared 0.1.111__py3-none-any.whl → 0.1.112__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.
- documente_shared/domain/repositories/processing_case.py +6 -1
- documente_shared/infrastructure/repositories/dynamo_processing_case.py +6 -1
- documente_shared/infrastructure/repositories/http_processing_case.py +6 -1
- documente_shared/infrastructure/repositories/mem_processing_case.py +1 -0
- {documente_shared-0.1.111.dist-info → documente_shared-0.1.112.dist-info}/METADATA +1 -1
- {documente_shared-0.1.111.dist-info → documente_shared-0.1.112.dist-info}/RECORD +7 -7
- {documente_shared-0.1.111.dist-info → documente_shared-0.1.112.dist-info}/WHEEL +0 -0
|
@@ -8,7 +8,12 @@ from documente_shared.domain.entities.processing_case_filters import ProcessingC
|
|
|
8
8
|
class ProcessingCaseRepository(ABC):
|
|
9
9
|
|
|
10
10
|
@abstractmethod
|
|
11
|
-
def find(
|
|
11
|
+
def find(
|
|
12
|
+
self,
|
|
13
|
+
uuid: str,
|
|
14
|
+
include_items: bool = False,
|
|
15
|
+
include_items_bytes: bool = False,
|
|
16
|
+
) -> Optional[ProcessingCase]:
|
|
12
17
|
raise NotImplementedError
|
|
13
18
|
|
|
14
19
|
@abstractmethod
|
|
@@ -13,7 +13,12 @@ class DynamoProcessingCaseRepository(
|
|
|
13
13
|
DynamoDBTable,
|
|
14
14
|
ProcessingCaseRepository,
|
|
15
15
|
):
|
|
16
|
-
def find(
|
|
16
|
+
def find(
|
|
17
|
+
self,
|
|
18
|
+
uuid: str,
|
|
19
|
+
include_items: bool = False,
|
|
20
|
+
include_items_bytes: bool = False,
|
|
21
|
+
) -> Optional[ProcessingCase]:
|
|
17
22
|
item = self.get(key={'uuid': uuid})
|
|
18
23
|
if item:
|
|
19
24
|
return ProcessingCase.from_dict(item)
|
|
@@ -16,7 +16,12 @@ class HttpProcessingCaseRepository(
|
|
|
16
16
|
DocumenteClientMixin,
|
|
17
17
|
ProcessingCaseRepository,
|
|
18
18
|
):
|
|
19
|
-
def find(
|
|
19
|
+
def find(
|
|
20
|
+
self,
|
|
21
|
+
uuid: str,
|
|
22
|
+
include_items: bool = False,
|
|
23
|
+
include_items_bytes: bool = False,
|
|
24
|
+
) -> Optional[ProcessingCase]:
|
|
20
25
|
response = self.session.get(f"{self.api_url}/v1/processing-cases/{uuid}/")
|
|
21
26
|
if response.status_code not in [200, 201]:
|
|
22
27
|
return None
|
|
@@ -33,7 +33,7 @@ documente_shared/domain/interfaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
33
33
|
documente_shared/domain/interfaces/scaling.py,sha256=yWAud0rcLKMMf2-QxEE__GRpzqUY0H9_qxlQTfnRYmw,249
|
|
34
34
|
documente_shared/domain/repositories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
documente_shared/domain/repositories/document.py,sha256=vJzr6c92gqBzyhaEdjrvnoneKRrWmJ0AsvocPnhxiLU,767
|
|
36
|
-
documente_shared/domain/repositories/processing_case.py,sha256=
|
|
36
|
+
documente_shared/domain/repositories/processing_case.py,sha256=sLmvqj2zAUGellRran9WYXbJjyuEtU56h9rklqkOdzY,852
|
|
37
37
|
documente_shared/domain/repositories/processing_case_item.py,sha256=uBgJN2fJnZDcKUk018P_Fv25dQRZD5FBxFxsCQNaGAQ,948
|
|
38
38
|
documente_shared/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
39
|
documente_shared/infrastructure/documente_client.py,sha256=u6k73yIefuEkCsHULMpVCydFzrSXclf_5oQd2D7CkKU,698
|
|
@@ -41,13 +41,13 @@ documente_shared/infrastructure/dynamo_table.py,sha256=TMQbcuty7wjDMbuhI8PbT0IGX
|
|
|
41
41
|
documente_shared/infrastructure/lambdas.py,sha256=sGgkw7Mhvuq2TpbW_RNdf5JvQnuzxWYH6gPOVtQ4DtE,357
|
|
42
42
|
documente_shared/infrastructure/repositories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
43
|
documente_shared/infrastructure/repositories/dynamo_document.py,sha256=_Yp4gtA-n-hJ2w2wAM5BMCs2Mf46Q2Kq3eHqlxudkL4,1443
|
|
44
|
-
documente_shared/infrastructure/repositories/dynamo_processing_case.py,sha256=
|
|
44
|
+
documente_shared/infrastructure/repositories/dynamo_processing_case.py,sha256=UV4IIJXolCasMUQAXlFJ18qxsCpL2seY5v8ZYMOvFj0,1520
|
|
45
45
|
documente_shared/infrastructure/repositories/dynamo_processing_case_item.py,sha256=B2ElsASpXNRkwwjdCqXyvDU-LBrLNdwPfHLMvvG9c-Y,1729
|
|
46
46
|
documente_shared/infrastructure/repositories/http_document.py,sha256=TQdjKmly1m0L26_ksq9ce0_jv5NxtXvN8AT3Zd06yCE,2289
|
|
47
|
-
documente_shared/infrastructure/repositories/http_processing_case.py,sha256=
|
|
47
|
+
documente_shared/infrastructure/repositories/http_processing_case.py,sha256=J9aUgUI1xTysQEbM8K1LepVpzgQU8RlvJn56jVa-l-E,2430
|
|
48
48
|
documente_shared/infrastructure/repositories/http_processing_case_item.py,sha256=rztS_5oE2VDN9LOUATrjCuiKBkxmIwKAakp9AFo8Obc,3185
|
|
49
49
|
documente_shared/infrastructure/repositories/mem_document.py,sha256=jg4rIjgSZijymjY9o7Q1lLcaiW9h-O8j6XljO1bJI7c,1299
|
|
50
|
-
documente_shared/infrastructure/repositories/mem_processing_case.py,sha256=
|
|
50
|
+
documente_shared/infrastructure/repositories/mem_processing_case.py,sha256=WgOPednF0rpz7g9AIUExmRfGSAWRBBgbqH_bg0jp4-c,1190
|
|
51
51
|
documente_shared/infrastructure/repositories/mem_processing_case_item.py,sha256=kQufzDTouu3agIXpEzRPdjltjTUFExrFbKkAZarGrUg,1419
|
|
52
52
|
documente_shared/infrastructure/s3_bucket.py,sha256=vT_yN42RFQXubtUn8ln-j13Os_-25UGClVtXg5Bkv6I,1932
|
|
53
53
|
documente_shared/infrastructure/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -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.
|
|
59
|
-
documente_shared-0.1.
|
|
60
|
-
documente_shared-0.1.
|
|
58
|
+
documente_shared-0.1.112.dist-info/METADATA,sha256=kOijsDEs6Frxgtc95ms9lkfn1dxkVIYBa71-qnigBQ4,963
|
|
59
|
+
documente_shared-0.1.112.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
60
|
+
documente_shared-0.1.112.dist-info/RECORD,,
|
|
File without changes
|