maleo-foundation 0.0.7__py3-none-any.whl → 0.0.9__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/clients/google/cloud/logging.py +6 -1
- maleo_foundation/models/schemas/general.py +9 -0
- {maleo_foundation-0.0.7.dist-info → maleo_foundation-0.0.9.dist-info}/METADATA +1 -1
- {maleo_foundation-0.0.7.dist-info → maleo_foundation-0.0.9.dist-info}/RECORD +6 -6
- {maleo_foundation-0.0.7.dist-info → maleo_foundation-0.0.9.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.0.7.dist-info → maleo_foundation-0.0.9.dist-info}/top_level.txt +0 -0
@@ -30,7 +30,12 @@ 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
|
-
|
33
|
+
# Defensive close
|
34
|
+
for handler in cls._client._handlers:
|
35
|
+
transport = getattr(handler, "transport", None)
|
36
|
+
if transport:
|
37
|
+
transport.close()
|
38
|
+
handler.close()
|
34
39
|
cls._client = None
|
35
40
|
|
36
41
|
@classmethod
|
@@ -73,6 +73,15 @@ class BaseGeneralSchemas:
|
|
73
73
|
class Status(BaseModel):
|
74
74
|
status:BaseEnums.StatusType = Field(..., description="Data's status")
|
75
75
|
|
76
|
+
class Order(BaseModel):
|
77
|
+
order:Optional[int] = Field(..., description="Data's order")
|
78
|
+
|
79
|
+
class Key(BaseModel):
|
80
|
+
key:str = Field(..., description="Data's key")
|
81
|
+
|
82
|
+
class Name(BaseModel):
|
83
|
+
name:str = Field(..., description="Data's name")
|
84
|
+
|
76
85
|
class TokenPayload(BaseModel):
|
77
86
|
t:BaseEnums.TokenType = Field(..., description="Token Type")
|
78
87
|
sr:UUID = Field(..., description="System role")
|
@@ -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=
|
9
|
+
maleo_foundation/clients/google/cloud/logging.py,sha256=4wSjBfxTtNdf_yN_fL1zYzZgoBm2i-IZZ-D2msnoYIY,1796
|
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
|
@@ -20,7 +20,7 @@ maleo_foundation/models/__init__.py,sha256=Wh92XAduE1Sg9qi2GMhptyXig0fKcTS5AbGo3
|
|
20
20
|
maleo_foundation/models/enums.py,sha256=Ob2v312JxypHEq7hTKZKOV462FEeLkIjIhpx-YF6Jdw,2203
|
21
21
|
maleo_foundation/models/responses.py,sha256=z2XEHwuxU05NDJSgrA7B7e2fzEQP6Kl3ZM2BO-lDw_A,3786
|
22
22
|
maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
|
23
|
-
maleo_foundation/models/schemas/general.py,sha256
|
23
|
+
maleo_foundation/models/schemas/general.py,sha256=-SI19QtHvusbJnj5m5-Kua4jjHkYGoi3FWOJ9RUvobQ,6466
|
24
24
|
maleo_foundation/models/schemas/parameter.py,sha256=1og_crWds6YLS-8Ha5EbAi3ZaNMzNFiIZ06v_HO3b9k,875
|
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
|
@@ -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.
|
51
|
-
maleo_foundation-0.0.
|
52
|
-
maleo_foundation-0.0.
|
53
|
-
maleo_foundation-0.0.
|
50
|
+
maleo_foundation-0.0.9.dist-info/METADATA,sha256=JwcQt9-FHHgL2alZuDd4ncz3fMMRiTI-KMRLpq6urhY,3159
|
51
|
+
maleo_foundation-0.0.9.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
52
|
+
maleo_foundation-0.0.9.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
53
|
+
maleo_foundation-0.0.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|