maleo-foundation 0.0.72__py3-none-any.whl → 0.0.74__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.
@@ -14,6 +14,11 @@ class BaseResponses:
14
14
  message:str = "Bad Request"
15
15
  description:str = "Bad/Unexpected parameters given in the request"
16
16
 
17
+ class InvalidExpand(BadRequest):
18
+ code:str = "MAL-INE-001"
19
+ message:str = "Invalid expand"
20
+ description:str = "Invalid expand field(s) configuration are given. Check 'other' for more information."
21
+
17
22
  class Unauthorized(Fail):
18
23
  code:str = "MAL-ATH-001"
19
24
  message:str = "Unauthorized Request"
maleo_foundation/types.py CHANGED
@@ -53,6 +53,10 @@ class BaseTypes:
53
53
  ListOfIntToStringDict = List[Dict[int, str]]
54
54
  OptionalListOfIntToStringDict = Optional[List[Dict[int, str]]]
55
55
 
56
+ #* List Dict-related types
57
+ StringToListOfStringDict = Dict[str, List[str]]
58
+ OptionalStringToListOfStringDict = Optional[Dict[str, List[str]]]
59
+
56
60
  #* UUID-related types
57
61
  ListOfUUIDs = List[UUID]
58
62
  OptionalUUID = Optional[UUID]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.0.72
3
+ Version: 0.0.74
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=51Lp62KN9EPFP983EtpMZ-4q_dIM6Gdu3VITzB7Zf7w,2231
5
+ maleo_foundation/types.py,sha256=-LcVUXKTGeazRJC2kHW-Oc_gk899JG1wMUCBpoP9v-M,2385
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
@@ -27,7 +27,7 @@ maleo_foundation/middlewares/__init__.py,sha256=bqE2EIFC3rWcR2AwFPR0fk2kSFfeTRzg
27
27
  maleo_foundation/middlewares/base.py,sha256=KcpODNs0DQXX8Cwc6T9dC6aiZIqxTLtuJjVAGWXPSKk,11633
28
28
  maleo_foundation/middlewares/cors.py,sha256=9uvBvY2N6Vxa9RP_YtESxcWo6Doi6uS0lzAG9iLY7Uc,2288
29
29
  maleo_foundation/models/__init__.py,sha256=AaKehO7c1HyKhoTGRmNHDddSeBXkW-_YNrpOGBu8Ms8,246
30
- maleo_foundation/models/responses.py,sha256=ePz7yNEYVCNxxrQlj_dnWXspv1HAnBAHCQfyaaqTHdo,4541
30
+ maleo_foundation/models/responses.py,sha256=Ka9Peb1fVuQKaxyy11FVkUPtGtzyEm_9Xfe8Vla3ml0,4764
31
31
  maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
32
32
  maleo_foundation/models/schemas/general.py,sha256=IHeIOX6iZaF0C4ixhdkGsxRNwcCuqR66smOH5lrLQMk,5597
33
33
  maleo_foundation/models/schemas/parameter.py,sha256=K47z2NzmTEhUiOfRiRLyRPXoQurbWsKBL7ObXAxIWRY,2100
@@ -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.72.dist-info/METADATA,sha256=6ywa37DkUtTlpebH4YGI08ijc4rUXYigjC2a31kGiUE,3160
58
- maleo_foundation-0.0.72.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
59
- maleo_foundation-0.0.72.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
60
- maleo_foundation-0.0.72.dist-info/RECORD,,
57
+ maleo_foundation-0.0.74.dist-info/METADATA,sha256=-rTma8SV5Tz_cF6NY8alxEwNyFZ2aGyZHGoXqNWgOaQ,3160
58
+ maleo_foundation-0.0.74.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
59
+ maleo_foundation-0.0.74.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
60
+ maleo_foundation-0.0.74.dist-info/RECORD,,