maleo-foundation 0.0.10__tar.gz → 0.0.12__tar.gz

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.
Files changed (58) hide show
  1. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/PKG-INFO +1 -1
  2. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/clients/google/cloud/logging.py +0 -7
  3. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/parameters/client.py +5 -4
  4. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/parameters/service.py +5 -4
  5. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation.egg-info/PKG-INFO +1 -1
  6. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/pyproject.toml +1 -1
  7. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/README.md +0 -0
  8. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/__init__.py +0 -0
  9. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/clients/__init__.py +0 -0
  10. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/clients/general/__init__.py +0 -0
  11. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/clients/general/http.py +0 -0
  12. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/clients/google/__init__.py +0 -0
  13. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/clients/google/cloud/__init__.py +0 -0
  14. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/clients/google/cloud/secret.py +0 -0
  15. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/clients/google/cloud/storage.py +0 -0
  16. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/constants.py +0 -0
  17. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/controller.py +0 -0
  18. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/db/__init__.py +0 -0
  19. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/db/database.py +0 -0
  20. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/db/engine.py +0 -0
  21. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/db/session.py +0 -0
  22. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/middlewares/__init__.py +0 -0
  23. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/middlewares/base.py +0 -0
  24. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/middlewares/cors.py +0 -0
  25. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/__init__.py +0 -0
  26. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/enums.py +0 -0
  27. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/responses.py +0 -0
  28. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/schemas/__init__.py +0 -0
  29. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/schemas/general.py +0 -0
  30. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/schemas/parameter.py +0 -0
  31. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/schemas/result.py +0 -0
  32. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/__init__.py +0 -0
  33. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/parameters/__init__.py +0 -0
  34. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/parameters/general.py +0 -0
  35. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/__init__.py +0 -0
  36. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/client/__init__.py +0 -0
  37. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/client/controllers/__init__.py +0 -0
  38. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/client/controllers/http.py +0 -0
  39. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/client/service.py +0 -0
  40. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/service/__init__.py +0 -0
  41. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/service/controllers/__init__.py +0 -0
  42. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/service/controllers/rest.py +0 -0
  43. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/service/general.py +0 -0
  44. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/transfers/results/service/query.py +0 -0
  45. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/types/__init__.py +0 -0
  46. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/types/client.py +0 -0
  47. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/types/query.py +0 -0
  48. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/models/types/service.py +0 -0
  49. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/utils/__init__.py +0 -0
  50. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/utils/exceptions.py +0 -0
  51. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/utils/formatter/__init__.py +0 -0
  52. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/utils/formatter/case.py +0 -0
  53. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation/utils/logger.py +0 -0
  54. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation.egg-info/SOURCES.txt +0 -0
  55. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation.egg-info/dependency_links.txt +0 -0
  56. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation.egg-info/requires.txt +0 -0
  57. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/maleo_foundation.egg-info/top_level.txt +0 -0
  58. {maleo_foundation-0.0.10 → maleo_foundation-0.0.12}/setup.cfg +0 -0
@@ -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
@@ -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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maleo_foundation"
7
- version = "0.0.10"
7
+ version = "0.0.12"
8
8
  description = "Foundation package for Maleo"
9
9
  authors = [
10
10
  { name = "Agra Bima Yuda", email = "agra@nexmedis.com" }