maleo-foundation 0.0.56__py3-none-any.whl → 0.0.58__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.
@@ -34,7 +34,7 @@ class DatabaseManager:
34
34
  #* Explicitly define the type of metadata
35
35
  metadata:MetaData = Base.metadata
36
36
 
37
- @staticmethod
38
- def initialize(engine: Engine):
37
+ @classmethod
38
+ def initialize(cls, engine:Engine):
39
39
  """Creates the database tables if they do not exist."""
40
- DatabaseManager.metadata.create_all(engine)
40
+ cls.metadata.create_all(engine)
@@ -41,9 +41,6 @@ class BaseGeneralSchemas:
41
41
  total_data:int = Field(..., description="Total data count")
42
42
  total_pages:int = Field(..., description="Total pages count")
43
43
 
44
- class StatusUpdate(BaseModel):
45
- action:BaseEnums.StatusUpdateAction = Field(..., description="Status update's action to be executed")
46
-
47
44
  class Status(BaseModel):
48
45
  status:BaseEnums.StatusType = Field(..., description="Status")
49
46
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.0.56
3
+ Version: 0.0.58
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -14,7 +14,7 @@ maleo_foundation/clients/google/cloud/storage.py,sha256=y_HAsbcGSnu5sxZPxaQWFWvO
14
14
  maleo_foundation/clients/utils/__init__.py,sha256=hChEGABHH4tOFxPRcpxmlhkM9PgF18M7wXapH88hpu4,131
15
15
  maleo_foundation/clients/utils/logger.py,sha256=QhxljzrvNY_gXAHCqaOUJJAgwvvcE9v3IQK6AWYxzM4,1144
16
16
  maleo_foundation/db/__init__.py,sha256=fFqGxpsiowiws70AqOfcOWFhwaahfOj9_05JSJ0iRaE,107
17
- maleo_foundation/db/database.py,sha256=4UXY6nRDAf8N_ymzKTT2UXiIuXiQ0NL_V3wT5obPEeU,1663
17
+ maleo_foundation/db/database.py,sha256=I0dJ4DPWOxlgoARJa6dYtff37NswOj3oPICvP41hmgc,1653
18
18
  maleo_foundation/db/engine.py,sha256=kw2SMMiWy5KARquh4TLk7v6HwlHW97lUIUvqdFbhNxk,1600
19
19
  maleo_foundation/db/session.py,sha256=tI13DJ6rLo8FOpSIFZrmD4dbuxY_c0RTjwEGb76ZOo0,2681
20
20
  maleo_foundation/expanded_types/__init__.py,sha256=RohoIQCiMvo2g6Jacq2dlqNXg3WLmRc-TD8nvMsyDKs,275
@@ -27,7 +27,7 @@ maleo_foundation/middlewares/cors.py,sha256=9uvBvY2N6Vxa9RP_YtESxcWo6Doi6uS0lzAG
27
27
  maleo_foundation/models/__init__.py,sha256=AaKehO7c1HyKhoTGRmNHDddSeBXkW-_YNrpOGBu8Ms8,246
28
28
  maleo_foundation/models/responses.py,sha256=ePz7yNEYVCNxxrQlj_dnWXspv1HAnBAHCQfyaaqTHdo,4541
29
29
  maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
30
- maleo_foundation/models/schemas/general.py,sha256=AKrO54sMh93Gk0RpDDofbVS67TqO5khz31Zw8V6sj4U,7114
30
+ maleo_foundation/models/schemas/general.py,sha256=0fFicGu2OPG_Pa1AzB7GyBpQvM_JyDFi4dhnF78qObw,6968
31
31
  maleo_foundation/models/schemas/parameter.py,sha256=K47z2NzmTEhUiOfRiRLyRPXoQurbWsKBL7ObXAxIWRY,2100
32
32
  maleo_foundation/models/schemas/result.py,sha256=V3dljS2AdtWW4Pf8YsnQuiCylN1bZtEY1AtYC7okWuI,1747
33
33
  maleo_foundation/models/transfers/__init__.py,sha256=B8oCZHE3NTsrJ_rviSXaDsuc-gc25jpjuhJO40lpQiE,222
@@ -52,7 +52,7 @@ maleo_foundation/utils/logger.py,sha256=978P57JOhGR-WIu7xdPXBIwd3JrfLLA8WerVzxhE
52
52
  maleo_foundation/utils/query.py,sha256=qKNcjf5J7_Q7NjA79BO6_TpZVdYcF8YIO68F9M501ew,4398
53
53
  maleo_foundation/utils/formatter/__init__.py,sha256=iKf5YCbEdg1qKnFHyKqqcQbqAqEeRUf8mhI3v3dQoj8,78
54
54
  maleo_foundation/utils/formatter/case.py,sha256=TmvvlfzGdC_omMTB5vAa40TZBxQ3hnr-SYeo0M52Rlg,1352
55
- maleo_foundation-0.0.56.dist-info/METADATA,sha256=sryTq06RYmaKprHNVqjq0WrECjJCl2LRQWJ2e4KMmW4,3160
56
- maleo_foundation-0.0.56.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
57
- maleo_foundation-0.0.56.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
58
- maleo_foundation-0.0.56.dist-info/RECORD,,
55
+ maleo_foundation-0.0.58.dist-info/METADATA,sha256=6-v6lQI0Zt6VWT-oc6bBYiw1XZcUtGvTmvoLfBycFbs,3160
56
+ maleo_foundation-0.0.58.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
57
+ maleo_foundation-0.0.58.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
58
+ maleo_foundation-0.0.58.dist-info/RECORD,,