maleo-foundation 0.0.24__py3-none-any.whl → 0.0.26__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/models/schemas/parameter.py +3 -3
- maleo_foundation/models/types/general.py +0 -1
- {maleo_foundation-0.0.24.dist-info → maleo_foundation-0.0.26.dist-info}/METADATA +1 -1
- {maleo_foundation-0.0.24.dist-info → maleo_foundation-0.0.26.dist-info}/RECORD +6 -6
- {maleo_foundation-0.0.24.dist-info → maleo_foundation-0.0.26.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.0.24.dist-info → maleo_foundation-0.0.26.dist-info}/top_level.txt +0 -0
@@ -2,17 +2,17 @@ from pydantic import BaseModel, Field
|
|
2
2
|
from maleo_foundation.models.enums import BaseEnums
|
3
3
|
from maleo_foundation.models.schemas.general import BaseGeneralSchemas
|
4
4
|
from maleo_foundation.models.types.general import BaseGeneralTypes
|
5
|
-
from maleo_foundation.models.types.parameter import BaseParameterTypes
|
5
|
+
# from maleo_foundation.models.types.parameter import BaseParameterTypes
|
6
6
|
|
7
7
|
class BaseParameterSchemas:
|
8
8
|
class Filters(BaseModel):
|
9
9
|
filters:BaseGeneralTypes.ListOfStrings = Field([], description="Filters for date range, e.g. 'created_at|from::<ISO_DATETIME>|to::<ISO_DATETIME>'.")
|
10
10
|
|
11
11
|
class DateFilters(BaseModel):
|
12
|
-
date_filters:
|
12
|
+
date_filters:list[BaseGeneralSchemas.DateFilter] = Field([], description="Date filters to be applied")
|
13
13
|
|
14
14
|
class Sorts(BaseModel):
|
15
15
|
sorts:BaseGeneralTypes.ListOfStrings = Field(["id.asc"], description="Sorting columns in 'column_name.asc' or 'column_name.desc' format.")
|
16
16
|
|
17
17
|
class SortColumns(BaseModel):
|
18
|
-
sort_columns:
|
18
|
+
sort_columns:list[BaseGeneralSchemas.SortColumn] = Field([BaseGeneralSchemas.SortColumn(name="id", order=BaseEnums.SortOrder.ASC)], description="List of columns to be sorted")
|
@@ -2,7 +2,6 @@ from datetime import datetime
|
|
2
2
|
from typing import Optional, Union, Literal, List, Any
|
3
3
|
from uuid import UUID
|
4
4
|
from maleo_foundation.models.enums import BaseEnums
|
5
|
-
from maleo_foundation.models.schemas.general import BaseGeneralSchemas
|
6
5
|
|
7
6
|
class BaseGeneralTypes:
|
8
7
|
#* Any-related types
|
@@ -22,7 +22,7 @@ maleo_foundation/models/enums.py,sha256=Ob2v312JxypHEq7hTKZKOV462FEeLkIjIhpx-YF6
|
|
22
22
|
maleo_foundation/models/responses.py,sha256=1Rs3EflBJdsTC8PSbaOFbbTyxwRwK031eU3qLEj21sU,4215
|
23
23
|
maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
|
24
24
|
maleo_foundation/models/schemas/general.py,sha256=LYhwCyzRGoGi0RhDvyq_SLE9VdUqYMlzc1rfkuvUV_w,6786
|
25
|
-
maleo_foundation/models/schemas/parameter.py,sha256=
|
25
|
+
maleo_foundation/models/schemas/parameter.py,sha256=BwvUJuQvAxr0K_3oypygp-hJC2anVAciKTtsUVg9GtI,1057
|
26
26
|
maleo_foundation/models/schemas/result.py,sha256=qiqp2FxkmpSh0erQ3nob5X6lpdK7bzjpw5GKDn4w8f0,1837
|
27
27
|
maleo_foundation/models/transfers/__init__.py,sha256=B8oCZHE3NTsrJ_rviSXaDsuc-gc25jpjuhJO40lpQiE,222
|
28
28
|
maleo_foundation/models/transfers/parameters/__init__.py,sha256=oKW4RPIEISISRjsJzD8lsCGY1HhZRTzshPpWHcJu86k,353
|
@@ -41,7 +41,7 @@ maleo_foundation/models/transfers/results/service/controllers/__init__.py,sha256
|
|
41
41
|
maleo_foundation/models/transfers/results/service/controllers/rest.py,sha256=bZ4NibT58aim6p3epFJ9ipR8Z54FkOuFx2GniK4CUfM,1114
|
42
42
|
maleo_foundation/models/types/__init__.py,sha256=RVDgAANo9GayyPFh7BX9RHAJp_tkT5BCHMZc_s0mTNU,393
|
43
43
|
maleo_foundation/models/types/client.py,sha256=tZtuMI_4uLxEiOvuGrwznEzMpqt3EEb3Z4t_VwzVtI0,1578
|
44
|
-
maleo_foundation/models/types/general.py,sha256=
|
44
|
+
maleo_foundation/models/types/general.py,sha256=j_bwdMYaYoUpI4CsA5_xMyk_J1PMGzD2Ms8TpDNN1MQ,1220
|
45
45
|
maleo_foundation/models/types/parameter.py,sha256=TXZ3WHvtn8g6jOQY5k4h5GQQk_8e4unpg1Q7W1J3EY0,306
|
46
46
|
maleo_foundation/models/types/query.py,sha256=wq5bCbph19PjcpEuAh58B330jopSUG64KGsoi9SFuN4,1567
|
47
47
|
maleo_foundation/models/types/service.py,sha256=utK9TACldhE0WW75KN84F_9D-fM5l1xN5_3F6QUVfPs,1595
|
@@ -50,7 +50,7 @@ maleo_foundation/utils/exceptions.py,sha256=mcvBwHm6uWpVQkPtO1T2j-GaTYEiyPOeGxiD
|
|
50
50
|
maleo_foundation/utils/logger.py,sha256=ICrFi0MxuAjDy8KTRL7pex1miwzZqZX-HHArgN3niJM,2453
|
51
51
|
maleo_foundation/utils/formatter/__init__.py,sha256=iKf5YCbEdg1qKnFHyKqqcQbqAqEeRUf8mhI3v3dQoj8,78
|
52
52
|
maleo_foundation/utils/formatter/case.py,sha256=TmvvlfzGdC_omMTB5vAa40TZBxQ3hnr-SYeo0M52Rlg,1352
|
53
|
-
maleo_foundation-0.0.
|
54
|
-
maleo_foundation-0.0.
|
55
|
-
maleo_foundation-0.0.
|
56
|
-
maleo_foundation-0.0.
|
53
|
+
maleo_foundation-0.0.26.dist-info/METADATA,sha256=67-SM62kDvSODmGAaU780G8ckdJjYXpGVdu6IVtZflM,3160
|
54
|
+
maleo_foundation-0.0.26.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
55
|
+
maleo_foundation-0.0.26.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
56
|
+
maleo_foundation-0.0.26.dist-info/RECORD,,
|
File without changes
|
File without changes
|