maleo-foundation 0.2.26__py3-none-any.whl → 0.2.27__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/expanded_types/repository.py +68 -0
- {maleo_foundation-0.2.26.dist-info → maleo_foundation-0.2.27.dist-info}/METADATA +1 -1
- {maleo_foundation-0.2.26.dist-info → maleo_foundation-0.2.27.dist-info}/RECORD +5 -6
- maleo_foundation/expanded_types/query.py +0 -68
- {maleo_foundation-0.2.26.dist-info → maleo_foundation-0.2.27.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.2.26.dist-info → maleo_foundation-0.2.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,68 @@
|
|
1
|
+
from typing import Awaitable, Callable, Union
|
2
|
+
from maleo_foundation.models.transfers.parameters.general \
|
3
|
+
import BaseGeneralParametersTransfers
|
4
|
+
from maleo_foundation.models.transfers.parameters.service \
|
5
|
+
import BaseServiceParametersTransfers
|
6
|
+
from maleo_foundation.models.transfers.results.service.repository \
|
7
|
+
import BaseServiceRepositoryResultsTransfers
|
8
|
+
|
9
|
+
class ExpandedRepositoryTypes:
|
10
|
+
#* Unpaginated multiple data
|
11
|
+
GetUnpaginatedMultipleParameter = BaseServiceParametersTransfers.GetUnpaginatedMultiple
|
12
|
+
GetUnpaginatedMultipleResult = Union[
|
13
|
+
BaseServiceRepositoryResultsTransfers.Fail,
|
14
|
+
BaseServiceRepositoryResultsTransfers.NoData,
|
15
|
+
BaseServiceRepositoryResultsTransfers.UnpaginatedMultipleData
|
16
|
+
]
|
17
|
+
SyncGetUnpaginatedMultipleFunction = Callable[
|
18
|
+
[GetUnpaginatedMultipleParameter],
|
19
|
+
GetUnpaginatedMultipleResult
|
20
|
+
]
|
21
|
+
AsyncGetUnpaginatedMultipleFunction = Callable[
|
22
|
+
[GetUnpaginatedMultipleParameter],
|
23
|
+
Awaitable[GetUnpaginatedMultipleResult]
|
24
|
+
]
|
25
|
+
|
26
|
+
#* Paginated multiple data
|
27
|
+
GetPaginatedMultipleParameter = BaseServiceParametersTransfers.GetPaginatedMultiple
|
28
|
+
GetPaginatedMultipleResult = Union[
|
29
|
+
BaseServiceRepositoryResultsTransfers.Fail,
|
30
|
+
BaseServiceRepositoryResultsTransfers.NoData,
|
31
|
+
BaseServiceRepositoryResultsTransfers.PaginatedMultipleData
|
32
|
+
]
|
33
|
+
SyncGetPaginatedMultipleFunction = Callable[
|
34
|
+
[GetPaginatedMultipleParameter],
|
35
|
+
GetPaginatedMultipleResult
|
36
|
+
]
|
37
|
+
AsyncGetPaginatedMultipleFunction = Callable[
|
38
|
+
[GetPaginatedMultipleParameter],
|
39
|
+
Awaitable[GetPaginatedMultipleResult]
|
40
|
+
]
|
41
|
+
|
42
|
+
#* Single data
|
43
|
+
GetSingleParameter = BaseGeneralParametersTransfers.GetSingle
|
44
|
+
GetSingleResult = Union[
|
45
|
+
BaseServiceRepositoryResultsTransfers.Fail,
|
46
|
+
BaseServiceRepositoryResultsTransfers.NoData,
|
47
|
+
BaseServiceRepositoryResultsTransfers.SingleData
|
48
|
+
]
|
49
|
+
SyncGetSingleFunction = Callable[
|
50
|
+
[GetSingleParameter],
|
51
|
+
GetSingleResult
|
52
|
+
]
|
53
|
+
AsyncGetSingleFunction = Callable[
|
54
|
+
[GetSingleParameter],
|
55
|
+
Awaitable[GetSingleResult]
|
56
|
+
]
|
57
|
+
|
58
|
+
#* Create or Update
|
59
|
+
CreateOrUpdateResult = Union[
|
60
|
+
BaseServiceRepositoryResultsTransfers.Fail,
|
61
|
+
BaseServiceRepositoryResultsTransfers.SingleData
|
62
|
+
]
|
63
|
+
|
64
|
+
#* Status update
|
65
|
+
StatusUpdateResult = Union[
|
66
|
+
BaseServiceRepositoryResultsTransfers.Fail,
|
67
|
+
BaseServiceRepositoryResultsTransfers.SingleData
|
68
|
+
]
|
@@ -23,8 +23,7 @@ maleo_foundation/expanded_types/client.py,sha256=WvT911cDsfWtCCYVaDeQ90ba_eCYnzC
|
|
23
23
|
maleo_foundation/expanded_types/general.py,sha256=_nSG5jgMgA1ntjBdVjQqkg0h1WNytLsIqkUrsKDmrfU,832
|
24
24
|
maleo_foundation/expanded_types/hash.py,sha256=QOH_HczGY7CRUZJ5gC84RunCAiUzNSt7DYXI7uqtwkM,416
|
25
25
|
maleo_foundation/expanded_types/key.py,sha256=qopQcO6V82RxiCtixe--IBce5MRT4buOun4RSA-LLm0,573
|
26
|
-
maleo_foundation/expanded_types/
|
27
|
-
maleo_foundation/expanded_types/repository.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
26
|
+
maleo_foundation/expanded_types/repository.py,sha256=hemtQGDqSQO8N4_y7pktXqBlrcDacs4EiUZ3hFk4n2o,2482
|
28
27
|
maleo_foundation/expanded_types/service.py,sha256=9LxwJHSBTgqOGD2CiV3gsRp1EbLB793jrTNGgCtrbjk,2434
|
29
28
|
maleo_foundation/expanded_types/signature.py,sha256=RgMU7MHADfVwSlGezjBcHXJiPwfnJb5ovuJ93qFRps0,451
|
30
29
|
maleo_foundation/expanded_types/token.py,sha256=xsy2F8Mzba1sPztBHL9J3DWv79QP8P3vqPwXahEG5mA,427
|
@@ -115,7 +114,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
|
|
115
114
|
maleo_foundation/utils/loaders/credential/google.py,sha256=SKsqPuFnAiCcYLf24CxKnMybhVHpgqnq1gGSlThqjts,994
|
116
115
|
maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
|
117
116
|
maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
|
118
|
-
maleo_foundation-0.2.
|
119
|
-
maleo_foundation-0.2.
|
120
|
-
maleo_foundation-0.2.
|
121
|
-
maleo_foundation-0.2.
|
117
|
+
maleo_foundation-0.2.27.dist-info/METADATA,sha256=dCd2rxF1U22s3I1YrELXJJGWpMfhz9tuZEU729v4_a4,3598
|
118
|
+
maleo_foundation-0.2.27.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
119
|
+
maleo_foundation-0.2.27.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
120
|
+
maleo_foundation-0.2.27.dist-info/RECORD,,
|
@@ -1,68 +0,0 @@
|
|
1
|
-
from typing import Awaitable, Callable, Union
|
2
|
-
from maleo_foundation.models.transfers.parameters.general \
|
3
|
-
import BaseGeneralParametersTransfers
|
4
|
-
from maleo_foundation.models.transfers.parameters.service \
|
5
|
-
import BaseServiceParametersTransfers
|
6
|
-
from maleo_foundation.models.transfers.results.service.repository \
|
7
|
-
import BaseServiceRepositoryResultsTransfers
|
8
|
-
|
9
|
-
class ExpandedRepositoryTypes:
|
10
|
-
#* Unpaginated multiple data
|
11
|
-
GetUnpaginatedMultipleParameter = BaseServiceParametersTransfers.GetUnpaginatedMultiple
|
12
|
-
GetUnpaginatedMultipleResult = Union[
|
13
|
-
BaseServiceRepositoryResultsTransfers.Fail,
|
14
|
-
BaseServiceRepositoryResultsTransfers.NoData,
|
15
|
-
BaseServiceRepositoryResultsTransfers.UnpaginatedMultipleData
|
16
|
-
]
|
17
|
-
SyncGetUnpaginatedMultipleFunction = Callable[
|
18
|
-
[GetUnpaginatedMultipleParameter],
|
19
|
-
GetUnpaginatedMultipleResult
|
20
|
-
]
|
21
|
-
AsyncGetUnpaginatedMultipleFunction = Callable[
|
22
|
-
[GetUnpaginatedMultipleParameter],
|
23
|
-
Awaitable[GetUnpaginatedMultipleResult]
|
24
|
-
]
|
25
|
-
|
26
|
-
#* Paginated multiple data
|
27
|
-
GetPaginatedMultipleParameter = BaseServiceParametersTransfers.GetPaginatedMultiple
|
28
|
-
GetPaginatedMultipleResult = Union[
|
29
|
-
BaseServiceRepositoryResultsTransfers.Fail,
|
30
|
-
BaseServiceRepositoryResultsTransfers.NoData,
|
31
|
-
BaseServiceRepositoryResultsTransfers.PaginatedMultipleData
|
32
|
-
]
|
33
|
-
SyncGetPaginatedMultipleFunction = Callable[
|
34
|
-
[GetPaginatedMultipleParameter],
|
35
|
-
GetPaginatedMultipleResult
|
36
|
-
]
|
37
|
-
AsyncGetPaginatedMultipleFunction = Callable[
|
38
|
-
[GetPaginatedMultipleParameter],
|
39
|
-
Awaitable[GetPaginatedMultipleResult]
|
40
|
-
]
|
41
|
-
|
42
|
-
#* Single data
|
43
|
-
GetSingleParameter = BaseGeneralParametersTransfers.GetSingle
|
44
|
-
GetSingleResult = Union[
|
45
|
-
BaseServiceRepositoryResultsTransfers.Fail,
|
46
|
-
BaseServiceRepositoryResultsTransfers.NoData,
|
47
|
-
BaseServiceRepositoryResultsTransfers.SingleData
|
48
|
-
]
|
49
|
-
SyncGetSingleFunction = Callable[
|
50
|
-
[GetSingleParameter],
|
51
|
-
GetSingleResult
|
52
|
-
]
|
53
|
-
AsyncGetSingleFunction = Callable[
|
54
|
-
[GetSingleParameter],
|
55
|
-
Awaitable[GetSingleResult]
|
56
|
-
]
|
57
|
-
|
58
|
-
#* Create or Update
|
59
|
-
CreateOrUpdateResult = Union[
|
60
|
-
BaseServiceRepositoryResultsTransfers.Fail,
|
61
|
-
BaseServiceRepositoryResultsTransfers.SingleData
|
62
|
-
]
|
63
|
-
|
64
|
-
#* Status update
|
65
|
-
StatusUpdateResult = Union[
|
66
|
-
BaseServiceRepositoryResultsTransfers.Fail,
|
67
|
-
BaseServiceRepositoryResultsTransfers.SingleData
|
68
|
-
]
|
File without changes
|
File without changes
|