maleo-foundation 0.0.70__py3-none-any.whl → 0.0.72__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.
@@ -119,4 +119,4 @@ class BaseGeneralSchemas:
119
119
  return values
120
120
 
121
121
  class Data(BaseModel):
122
- data:BaseTypes.ListOrDictOfAny = Field(..., description="Data")
122
+ data:BaseTypes.StringToAnyDict = Field(..., description="Data")
maleo_foundation/types.py CHANGED
@@ -33,7 +33,7 @@ class BaseTypes:
33
33
  #* Datetime-related types
34
34
  OptionalDatetime = Optional[datetime]
35
35
 
36
- #* Dict-related types
36
+ #* Any Dict-related types
37
37
  StringToAnyDict = Dict[str, Any]
38
38
  OptionalStringToAnyDict = Optional[Dict[str, Any]]
39
39
  ListOfStringToAnyDict = List[Dict[str, Any]]
@@ -43,6 +43,16 @@ class BaseTypes:
43
43
  ListOfIntToAnyDict = List[Dict[int, Any]]
44
44
  OptionalListOfIntToAnyDict = Optional[List[Dict[int, Any]]]
45
45
 
46
+ #* String Dict-related types
47
+ StringToStringDict = Dict[str, str]
48
+ OptionalStringToStringDict = Optional[Dict[str, str]]
49
+ ListOfStringToStringDict = List[Dict[str, str]]
50
+ OptionalListOfStringToStringDict = Optional[List[Dict[str, str]]]
51
+ IntToStringDict = Dict[int, str]
52
+ OptionalIntToStringDict = Optional[Dict[int, str]]
53
+ ListOfIntToStringDict = List[Dict[int, str]]
54
+ OptionalListOfIntToStringDict = Optional[List[Dict[int, str]]]
55
+
46
56
  #* UUID-related types
47
57
  ListOfUUIDs = List[UUID]
48
58
  OptionalUUID = Optional[UUID]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.0.70
3
+ Version: 0.0.72
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=WpFz-erUmc9aEQPgkFECayz2svlaxor9_VePUfCDgHI,1765
5
+ maleo_foundation/types.py,sha256=51Lp62KN9EPFP983EtpMZ-4q_dIM6Gdu3VITzB7Zf7w,2231
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
@@ -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=NBf4HkpYLc9bEwQsX3i2ak0jq_1ZGcOWbEB1IOwO12Q,5597
32
+ maleo_foundation/models/schemas/general.py,sha256=IHeIOX6iZaF0C4ixhdkGsxRNwcCuqR66smOH5lrLQMk,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.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,,
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,,