maleo-foundation 0.0.68__py3-none-any.whl → 0.0.70__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.
@@ -1,17 +1,18 @@
1
1
  from typing import Callable, List, Optional
2
+ from maleo_foundation.types import BaseTypes
2
3
  from maleo_foundation.models.transfers.parameters.general import BaseGeneralParametersTransfers
3
4
 
4
5
  class BaseGeneralExpandedTypes:
5
6
  #* Expansion processor related types
6
7
  FieldExpansionProcessor = Callable[
7
8
  [BaseGeneralParametersTransfers.FieldExpansionProcessor],
8
- None
9
+ BaseTypes.ListOrDictOfAny
9
10
  ]
10
11
 
11
12
  ListOfFieldExpansionProcessor = List[
12
13
  Callable[
13
14
  [BaseGeneralParametersTransfers.FieldExpansionProcessor],
14
- None
15
+ BaseTypes.ListOrDictOfAny
15
16
  ]
16
17
  ]
17
18
 
@@ -19,7 +20,7 @@ class BaseGeneralExpandedTypes:
19
20
  List[
20
21
  Callable[
21
22
  [BaseGeneralParametersTransfers.FieldExpansionProcessor],
22
- None
23
+ BaseTypes.ListOrDictOfAny
23
24
  ]
24
25
  ]
25
26
  ]
@@ -119,4 +119,4 @@ class BaseGeneralSchemas:
119
119
  return values
120
120
 
121
121
  class Data(BaseModel):
122
- data:BaseTypes.StringToAnyDict = Field(..., description="Data")
122
+ data:BaseTypes.ListOrDictOfAny = Field(..., description="Data")
maleo_foundation/types.py CHANGED
@@ -53,4 +53,5 @@ class BaseTypes:
53
53
  OptionalListOfStatuses = Optional[List[BaseEnums.StatusType]]
54
54
 
55
55
  #* Miscellanous types
56
- IdentifierValue = Union[int, UUID, str]
56
+ IdentifierValue = Union[int, UUID, str]
57
+ ListOrDictOfAny = Union[List[Any], Dict[str, Any]]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.0.68
3
+ Version: 0.0.70
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -2,7 +2,7 @@ maleo_foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
2
2
  maleo_foundation/constants.py,sha256=aBmEfWlBqZxi0k-n6h2NM1YRLOjMnheEiLyQcjP-zCQ,1164
3
3
  maleo_foundation/enums.py,sha256=uXA5fLFeDXwlspUjU4DXSB68dfanxEwIJhsAMZXhsYo,2359
4
4
  maleo_foundation/extended_types.py,sha256=pIKt-_9tby4rmune3fmWcCW_mohaNRh_1lywBmdc-L4,301
5
- maleo_foundation/types.py,sha256=1VhIaxr9Ef_bl4mkEnBfA-K8Jxm-KEQqXl-VYwRDNns,1710
5
+ maleo_foundation/types.py,sha256=WpFz-erUmc9aEQPgkFECayz2svlaxor9_VePUfCDgHI,1765
6
6
  maleo_foundation/clients/__init__.py,sha256=W8vydJYeDEi6gdmOZSBFSSDsfZJtb8C05CHErZgsZ30,188
7
7
  maleo_foundation/clients/general/__init__.py,sha256=l9eQrBeLW4aXtGU5aK3i6fD-msVR4526W7D9V8WCXIg,91
8
8
  maleo_foundation/clients/general/http.py,sha256=Awvs470hgdhZSZW_uoIFJGcJ5hcfDEIX0A2yUaP9UCA,1353
@@ -20,7 +20,7 @@ maleo_foundation/db/session.py,sha256=tI13DJ6rLo8FOpSIFZrmD4dbuxY_c0RTjwEGb76ZOo
20
20
  maleo_foundation/db/table.py,sha256=Dk5GXeO0gbBBPN2PJtZhlUx2x3vMbT4dxTBc3YLBbuc,1199
21
21
  maleo_foundation/expanded_types/__init__.py,sha256=lm_r7rxlLA0sgSTGQBMR9ZbZbVDpD7Te-UYb3oRVi1g,364
22
22
  maleo_foundation/expanded_types/client.py,sha256=To0kRXp3QTmuSu5rWKaCiTsMK9qkYiyYKYbHfw-y1fY,2396
23
- maleo_foundation/expanded_types/general.py,sha256=Ha4fIJEzBCBG7dQYihb4Euk9cnOSdbhnjPsUiMnHcgs,718
23
+ maleo_foundation/expanded_types/general.py,sha256=bjIBREYTS73tvS-Key7P7db82a2HHlSJ1XBAvKuYmT0,826
24
24
  maleo_foundation/expanded_types/query.py,sha256=0yUG-JIVsanzB7KAkrRz_OsrhP6J0bRqD9Q3l3atQnk,2384
25
25
  maleo_foundation/expanded_types/service.py,sha256=q8jpKdbCbLWwH1UPQavKpVE14rC5rveduk2cFWzuhGw,2416
26
26
  maleo_foundation/middlewares/__init__.py,sha256=bqE2EIFC3rWcR2AwFPR0fk2kSFfeTRzgA24GbnuT5RA,3697
@@ -29,7 +29,7 @@ maleo_foundation/middlewares/cors.py,sha256=9uvBvY2N6Vxa9RP_YtESxcWo6Doi6uS0lzAG
29
29
  maleo_foundation/models/__init__.py,sha256=AaKehO7c1HyKhoTGRmNHDddSeBXkW-_YNrpOGBu8Ms8,246
30
30
  maleo_foundation/models/responses.py,sha256=ePz7yNEYVCNxxrQlj_dnWXspv1HAnBAHCQfyaaqTHdo,4541
31
31
  maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
32
- maleo_foundation/models/schemas/general.py,sha256=IHeIOX6iZaF0C4ixhdkGsxRNwcCuqR66smOH5lrLQMk,5597
32
+ maleo_foundation/models/schemas/general.py,sha256=NBf4HkpYLc9bEwQsX3i2ak0jq_1ZGcOWbEB1IOwO12Q,5597
33
33
  maleo_foundation/models/schemas/parameter.py,sha256=K47z2NzmTEhUiOfRiRLyRPXoQurbWsKBL7ObXAxIWRY,2100
34
34
  maleo_foundation/models/schemas/result.py,sha256=V3dljS2AdtWW4Pf8YsnQuiCylN1bZtEY1AtYC7okWuI,1747
35
35
  maleo_foundation/models/transfers/__init__.py,sha256=B8oCZHE3NTsrJ_rviSXaDsuc-gc25jpjuhJO40lpQiE,222
@@ -54,7 +54,7 @@ maleo_foundation/utils/logger.py,sha256=978P57JOhGR-WIu7xdPXBIwd3JrfLLA8WerVzxhE
54
54
  maleo_foundation/utils/query.py,sha256=ODQ3adOYQNj5E2cRW9ytbjBz56nEDcnfq8mQ6YZbCCM,4375
55
55
  maleo_foundation/utils/formatter/__init__.py,sha256=iKf5YCbEdg1qKnFHyKqqcQbqAqEeRUf8mhI3v3dQoj8,78
56
56
  maleo_foundation/utils/formatter/case.py,sha256=TmvvlfzGdC_omMTB5vAa40TZBxQ3hnr-SYeo0M52Rlg,1352
57
- maleo_foundation-0.0.68.dist-info/METADATA,sha256=wr0KduF82rUXSsqXOpFK4y5TO_Zo0kY2jseFsIKaC3k,3160
58
- maleo_foundation-0.0.68.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
59
- maleo_foundation-0.0.68.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
60
- maleo_foundation-0.0.68.dist-info/RECORD,,
57
+ maleo_foundation-0.0.70.dist-info/METADATA,sha256=1-eorby367VV9sW02h7Lpidd6FINm1YK_7CkZX0u2ds,3160
58
+ maleo_foundation-0.0.70.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
59
+ maleo_foundation-0.0.70.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
60
+ maleo_foundation-0.0.70.dist-info/RECORD,,