maleo-foundation 0.2.21__py3-none-any.whl → 0.2.22__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/managers/cache/redis.py +1 -1
- maleo_foundation/managers/service.py +3 -0
- {maleo_foundation-0.2.21.dist-info → maleo_foundation-0.2.22.dist-info}/METADATA +1 -1
- {maleo_foundation-0.2.21.dist-info → maleo_foundation-0.2.22.dist-info}/RECORD +6 -6
- {maleo_foundation-0.2.21.dist-info → maleo_foundation-0.2.22.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.2.21.dist-info → maleo_foundation-0.2.22.dist-info}/top_level.txt +0 -0
@@ -7,7 +7,7 @@ class RedisCacheNamespaces(BaseModel):
|
|
7
7
|
base:str = Field(..., description="Base's redis namespace")
|
8
8
|
|
9
9
|
def create(self, type:BaseEnums.CacheType, *ext:str) -> str:
|
10
|
-
return "
|
10
|
+
return ":".join([self.base, type, *ext])
|
11
11
|
|
12
12
|
class RedisCacheConfigurations(BaseModel):
|
13
13
|
ttl:Union[int, float] = Field(BaseEnums.CacheTTL.TTL_5MN, description="Default TTL")
|
@@ -429,6 +429,9 @@ class ServiceManager:
|
|
429
429
|
|
430
430
|
async def dispose(self) -> None:
|
431
431
|
self._loggers.application.info("Disposing service manager")
|
432
|
+
if self._redis is not None:
|
433
|
+
await self._redis.close()
|
434
|
+
self._redis = None
|
432
435
|
if self._database is not None:
|
433
436
|
self._database.dispose()
|
434
437
|
self._database = None
|
@@ -33,9 +33,9 @@ maleo_foundation/expanded_types/encryption/rsa.py,sha256=Esf_H8nMz2kOLAWa3M7dlD-
|
|
33
33
|
maleo_foundation/managers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
34
34
|
maleo_foundation/managers/db.py,sha256=cpY1IOiUytT9XXYtzS0E9OSYOuB7jBKo0XHe__uI1Jg,5340
|
35
35
|
maleo_foundation/managers/middleware.py,sha256=ODIQU1Hpu-Xempjjo_VRbVtxiD5oi74mNuoWuDawRh0,4250
|
36
|
-
maleo_foundation/managers/service.py,sha256=
|
36
|
+
maleo_foundation/managers/service.py,sha256=4H-eEayFEA1aWUYCgSu2sOy4MLDN9RqkCj5xJXN154o,18690
|
37
37
|
maleo_foundation/managers/cache/__init__.py,sha256=CeY0oof2bVl_v5WS-FKXNwn2gf3xrEMfUsHK9cHo59s,471
|
38
|
-
maleo_foundation/managers/cache/redis.py,sha256=
|
38
|
+
maleo_foundation/managers/cache/redis.py,sha256=vUpQUAKP_wZb_Fr1wEzICDCPQyBW8jnZ-pktl6AIdmY,1021
|
39
39
|
maleo_foundation/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
40
40
|
maleo_foundation/managers/client/base.py,sha256=AlMsdxIsu2U8BLT2SyEXC7YQXDZjVPZfEmHvV_IUv18,4430
|
41
41
|
maleo_foundation/managers/client/maleo.py,sha256=pY3285ZjFttte0uN3x3AmqaoCTeFOhXvuI4GbuPbDkQ,2140
|
@@ -115,7 +115,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
|
|
115
115
|
maleo_foundation/utils/loaders/credential/google.py,sha256=SKsqPuFnAiCcYLf24CxKnMybhVHpgqnq1gGSlThqjts,994
|
116
116
|
maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
|
117
117
|
maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
|
118
|
-
maleo_foundation-0.2.
|
119
|
-
maleo_foundation-0.2.
|
120
|
-
maleo_foundation-0.2.
|
121
|
-
maleo_foundation-0.2.
|
118
|
+
maleo_foundation-0.2.22.dist-info/METADATA,sha256=V-ujMe7QeV7cRbzPl7TLrkuzRKrP0X5ujl9iibWxBWI,3598
|
119
|
+
maleo_foundation-0.2.22.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
120
|
+
maleo_foundation-0.2.22.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
121
|
+
maleo_foundation-0.2.22.dist-info/RECORD,,
|
File without changes
|
File without changes
|