maleo-foundation 0.0.10__py3-none-any.whl → 0.0.12__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.
@@ -30,13 +30,6 @@ class GoogleCloudLogging:
30
30
  def dispose(cls) -> None:
31
31
  """Dispose of the cloud logging and release any resources."""
32
32
  if cls._client is not None:
33
- # Defensive close
34
- for handler in cls._client._handlers:
35
- transport = getattr(handler, "transport", None)
36
- if transport:
37
- transport.close()
38
- if handler is not None:
39
- handler.close()
40
33
  cls._client = None
41
34
 
42
35
  @classmethod
@@ -7,17 +7,18 @@ from maleo_foundation.models.schemas.parameter import BaseParameterSchemas
7
7
 
8
8
  class BaseClientParametersTransfers:
9
9
  class GetMultiple(
10
- BaseParameterSchemas.DateFilters,
10
+ BaseGeneralSchemas.SimplePagination,
11
11
  BaseParameterSchemas.SortColumns,
12
12
  BaseGeneralSchemas.Search,
13
- BaseGeneralSchemas.SimplePagination,
14
- BaseGeneralSchemas.Statuses
13
+ BaseGeneralSchemas.Statuses,
14
+ BaseParameterSchemas.DateFilters,
15
+ BaseGeneralSchemas.IDs,
15
16
  ):
16
17
  pass
17
18
 
18
19
  class GetMultipleQuery(
19
- BaseParameterSchemas.Filters,
20
20
  BaseParameterSchemas.Sorts,
21
+ BaseParameterSchemas.Filters,
21
22
  GetMultiple
22
23
  ):
23
24
  @model_validator(mode="after")
@@ -11,11 +11,12 @@ from maleo_foundation.constants import SORT_COLUMN_PATTERN, DATE_FILTER_PATTERN
11
11
 
12
12
  class BaseServiceParametersTransfers:
13
13
  class GetMultipleQuery(
14
- BaseParameterSchemas.Filters,
14
+ BaseGeneralSchemas.SimplePagination,
15
15
  BaseParameterSchemas.Sorts,
16
16
  BaseGeneralSchemas.Search,
17
- BaseGeneralSchemas.SimplePagination,
18
- BaseGeneralSchemas.Statuses
17
+ BaseGeneralSchemas.Statuses,
18
+ BaseParameterSchemas.Filters,
19
+ BaseGeneralSchemas.IDs
19
20
  ):
20
21
  @field_validator("sorts")
21
22
  @classmethod
@@ -39,8 +40,8 @@ class BaseServiceParametersTransfers:
39
40
  return final_values
40
41
 
41
42
  class GetMultiple(
42
- BaseParameterSchemas.DateFilters,
43
43
  BaseParameterSchemas.SortColumns,
44
+ BaseParameterSchemas.DateFilters,
44
45
  GetMultipleQuery
45
46
  ):
46
47
  @model_validator(mode="after")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.0.10
3
+ Version: 0.0.12
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -6,7 +6,7 @@ maleo_foundation/clients/general/__init__.py,sha256=l9eQrBeLW4aXtGU5aK3i6fD-msVR
6
6
  maleo_foundation/clients/general/http.py,sha256=Awvs470hgdhZSZW_uoIFJGcJ5hcfDEIX0A2yUaP9UCA,1353
7
7
  maleo_foundation/clients/google/__init__.py,sha256=1uv6nF9QbATsSAcMimQOT7Y-eBljjDunBojNX6oAtS8,90
8
8
  maleo_foundation/clients/google/cloud/__init__.py,sha256=WGMPxEKKdkz3XGY5dZn9E-nYhD1kv1MgRHbmVnky4zk,245
9
- maleo_foundation/clients/google/cloud/logging.py,sha256=2phh-kwfd89cGKZFm6n98Pv2LaVdD9VL5zBI14z3vHQ,1840
9
+ maleo_foundation/clients/google/cloud/logging.py,sha256=b-q6Mhlt2Vl5HBh-YXeEEfGu1TMFK_XIJa55haMvkpA,1552
10
10
  maleo_foundation/clients/google/cloud/secret.py,sha256=cFewA-EYsAaEfxc2G2XGzwHreW1FgyCK6MpwOARE24M,3452
11
11
  maleo_foundation/clients/google/cloud/storage.py,sha256=y_HAsbcGSnu5sxZPxaQWFWvOlF3vEcqkej2834OgAS0,2617
12
12
  maleo_foundation/db/__init__.py,sha256=fFqGxpsiowiws70AqOfcOWFhwaahfOj9_05JSJ0iRaE,107
@@ -25,9 +25,9 @@ maleo_foundation/models/schemas/parameter.py,sha256=1og_crWds6YLS-8Ha5EbAi3ZaNMz
25
25
  maleo_foundation/models/schemas/result.py,sha256=fzzq5mbJSwTXt6r-m9Yz9XNx36gGtroaj7dCCySKSFo,1870
26
26
  maleo_foundation/models/transfers/__init__.py,sha256=B8oCZHE3NTsrJ_rviSXaDsuc-gc25jpjuhJO40lpQiE,222
27
27
  maleo_foundation/models/transfers/parameters/__init__.py,sha256=oKW4RPIEISISRjsJzD8lsCGY1HhZRTzshPpWHcJu86k,353
28
- maleo_foundation/models/transfers/parameters/client.py,sha256=oi9LzEIFAg1WVbsnmVegsn8kLDt6tJJbOZLrhfQjs64,2248
28
+ maleo_foundation/models/transfers/parameters/client.py,sha256=blvG0ICEwlo1KU_3Gu2hkoiEIC6JgzGQkASWj6oe070,2281
29
29
  maleo_foundation/models/transfers/parameters/general.py,sha256=TDDUAc7GsKA9jhpan5BqoGVpOcwJPHpV34atXEd0D60,532
30
- maleo_foundation/models/transfers/parameters/service.py,sha256=ljlD4wLChp7nlzMLuYoo13YKhj9Q7yUmLxQ67oV5jYg,5333
30
+ maleo_foundation/models/transfers/parameters/service.py,sha256=2KDOSRHgQMPHbtUK_zvEX9UhwjZtOpcttuJCbxRgwpE,5365
31
31
  maleo_foundation/models/transfers/results/__init__.py,sha256=0_8uJ1IQW87RZ4nIxzWkQVi3Fxb7B8myZTngXfoxgNc,241
32
32
  maleo_foundation/models/transfers/results/client/__init__.py,sha256=xBRuY0NUIPpQEGQ2qoBnqLZGX4W1YSrQ0VnDf5OYJBo,290
33
33
  maleo_foundation/models/transfers/results/client/service.py,sha256=TO_U53vmUEnFWiiyuu33ao3BUidt6KFxvk3GC9uo8JE,1108
@@ -47,7 +47,7 @@ maleo_foundation/utils/exceptions.py,sha256=mcvBwHm6uWpVQkPtO1T2j-GaTYEiyPOeGxiD
47
47
  maleo_foundation/utils/logger.py,sha256=ICrFi0MxuAjDy8KTRL7pex1miwzZqZX-HHArgN3niJM,2453
48
48
  maleo_foundation/utils/formatter/__init__.py,sha256=iKf5YCbEdg1qKnFHyKqqcQbqAqEeRUf8mhI3v3dQoj8,78
49
49
  maleo_foundation/utils/formatter/case.py,sha256=TmvvlfzGdC_omMTB5vAa40TZBxQ3hnr-SYeo0M52Rlg,1352
50
- maleo_foundation-0.0.10.dist-info/METADATA,sha256=fL9iVSCpSoU2FFXIGIa8a7NfIn-Hg_XisrCQw6Khev4,3160
51
- maleo_foundation-0.0.10.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
52
- maleo_foundation-0.0.10.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
53
- maleo_foundation-0.0.10.dist-info/RECORD,,
50
+ maleo_foundation-0.0.12.dist-info/METADATA,sha256=PxCPsR-oCipfb9OQZ3ZWVp3tjQ0S6Qwuy5ZOxyAzSjU,3160
51
+ maleo_foundation-0.0.12.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
52
+ maleo_foundation-0.0.12.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
53
+ maleo_foundation-0.0.12.dist-info/RECORD,,