maleo-foundation 0.3.47__py3-none-any.whl → 0.3.48__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.
- maleo_foundation/utils/repository.py +7 -9
- {maleo_foundation-0.3.47.dist-info → maleo_foundation-0.3.48.dist-info}/METADATA +1 -1
- {maleo_foundation-0.3.47.dist-info → maleo_foundation-0.3.48.dist-info}/RECORD +5 -5
- {maleo_foundation-0.3.47.dist-info → maleo_foundation-0.3.48.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.3.47.dist-info → maleo_foundation-0.3.48.dist-info}/top_level.txt +0 -0
@@ -3,23 +3,21 @@ from functools import wraps
|
|
3
3
|
from pydantic import ValidationError
|
4
4
|
from typing import Optional, Type, Union
|
5
5
|
from maleo_foundation.types import BaseTypes
|
6
|
-
from maleo_foundation.models.transfers.results.service.
|
7
|
-
|
6
|
+
from maleo_foundation.models.transfers.results.service.general import (
|
7
|
+
BaseServiceGeneralResultsTransfers,
|
8
8
|
)
|
9
9
|
|
10
10
|
|
11
11
|
class BaseRepositoryUtils:
|
12
12
|
@staticmethod
|
13
13
|
def result_processor(
|
14
|
-
fail_class: Type[
|
14
|
+
fail_class: Type[BaseServiceGeneralResultsTransfers.Fail],
|
15
15
|
data_found_class: Union[
|
16
|
-
Type[
|
17
|
-
Type[
|
18
|
-
Type[
|
16
|
+
Type[BaseServiceGeneralResultsTransfers.SingleData],
|
17
|
+
Type[BaseServiceGeneralResultsTransfers.UnpaginatedMultipleData],
|
18
|
+
Type[BaseServiceGeneralResultsTransfers.PaginatedMultipleData],
|
19
19
|
],
|
20
|
-
no_data_class: Optional[
|
21
|
-
Type[BaseServiceRepositoryResultsTransfers.NoData]
|
22
|
-
] = None,
|
20
|
+
no_data_class: Optional[Type[BaseServiceGeneralResultsTransfers.NoData]] = None,
|
23
21
|
):
|
24
22
|
"""Decorator to handle repository-related exceptions consistently."""
|
25
23
|
|
@@ -117,7 +117,7 @@ maleo_foundation/utils/extractor.py,sha256=an9bKvwIniVvUCk0fSetUL_8VGBk_MNEtB2pw
|
|
117
117
|
maleo_foundation/utils/logging.py,sha256=sOQbvrLdlp1Vwx7y14YitzHx4IHh5iYaCt9WvdrapUI,9141
|
118
118
|
maleo_foundation/utils/merger.py,sha256=UGiuH0EUQJu0WlS1xdPUuvnsNknd3k0DODjdiOTiBdI,704
|
119
119
|
maleo_foundation/utils/query.py,sha256=mAoXadZuWx_ic6Z4VQ9K4GZxYgSNzpNS94W6xxqeFyg,8312
|
120
|
-
maleo_foundation/utils/repository.py,sha256=
|
120
|
+
maleo_foundation/utils/repository.py,sha256=fZqmApZUG9KqwrfURvyAIw_-7Y9EsLngoAoNcjJphtQ,2951
|
121
121
|
maleo_foundation/utils/searcher.py,sha256=rcHa0pPZvLEk2MgI4qeGW-K6vlUy2eWTnwWzzT8yrKA,528
|
122
122
|
maleo_foundation/utils/dependencies/__init__.py,sha256=jJOo4uCTPiEvpgecsl4JEhKzuV85KaNxOd9PiRl-2ic,124
|
123
123
|
maleo_foundation/utils/dependencies/auth.py,sha256=3Z0b-Xi5PAKRKlbv-ZIT46YrQFkjiS7NhSDWZTOWm8I,650
|
@@ -131,7 +131,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=g-cAxkTE2EtHaG8Tv52
|
|
131
131
|
maleo_foundation/utils/loaders/credential/google.py,sha256=GCJl-bsKSSxoE_ERAkIzRrRNIbIEeqYOhHwzFuBr0mk,6576
|
132
132
|
maleo_foundation/utils/loaders/key/__init__.py,sha256=RfqIbUxkdlx1xrbzJZPD_JHiRFNFLRuQs8JoUPCGCv4,108
|
133
133
|
maleo_foundation/utils/loaders/key/rsa.py,sha256=UXcP0rr4QVacTsHLNQuU05wcow5CHWz-JW-zsVxlbPs,4121
|
134
|
-
maleo_foundation-0.3.
|
135
|
-
maleo_foundation-0.3.
|
136
|
-
maleo_foundation-0.3.
|
137
|
-
maleo_foundation-0.3.
|
134
|
+
maleo_foundation-0.3.48.dist-info/METADATA,sha256=3HmPB-EGoIYuZMYRdutYNOSzsdgfZD_P3e6Yx9XR8rg,4150
|
135
|
+
maleo_foundation-0.3.48.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
136
|
+
maleo_foundation-0.3.48.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
137
|
+
maleo_foundation-0.3.48.dist-info/RECORD,,
|
File without changes
|
File without changes
|