internal 1.0.72__py3-none-any.whl → 1.0.74__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.
Potentially problematic release.
This version of internal might be problematic. Click here for more details.
internal/base_factory.py
CHANGED
|
@@ -79,8 +79,6 @@ class BaseFactory(metaclass=ABCMeta):
|
|
|
79
79
|
# code to execute when app is shutting down
|
|
80
80
|
await mongodb.close()
|
|
81
81
|
app.state.logger.info("Database disconnected")
|
|
82
|
-
await app.state.redis.close()
|
|
83
|
-
app.state.logger.info("Cache disconnected")
|
|
84
82
|
|
|
85
83
|
if title is None:
|
|
86
84
|
title = self.DEFAULT_APP_NAME
|
internal/cache_redis.py
CHANGED
|
@@ -13,7 +13,7 @@ class CacheRedis:
|
|
|
13
13
|
|
|
14
14
|
async def connect(self):
|
|
15
15
|
try:
|
|
16
|
-
connection_pool = redis.ConnectionPool.from_url(self.redis_url)
|
|
16
|
+
connection_pool = redis.ConnectionPool.from_url(self.redis_url, decode_responses=True)
|
|
17
17
|
self.client = redis.Redis(connection_pool=connection_pool)
|
|
18
18
|
await self.client.ping()
|
|
19
19
|
except Exception as e:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
internal/base_config.py,sha256=TykK9HNF9y3OcIBPgx0h3VfVW5XH7nClLReq1-cqZCg,1995
|
|
3
|
-
internal/base_factory.py,sha256=
|
|
4
|
-
internal/cache_redis.py,sha256=
|
|
3
|
+
internal/base_factory.py,sha256=eQugYtImzQTnh6lR4vfVza-K2Q5gcVJnGUOuEPyQB3A,10313
|
|
4
|
+
internal/cache_redis.py,sha256=YMsrUXHd-wKjsjsboD79Y-ciBBowzT6aAjdJZ36-yEY,697
|
|
5
5
|
internal/common_enum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
internal/common_enum/contact_type.py,sha256=7QkTQ71UxpaT1YHI40FpjmLz3r-UbRU-sd0m5ajH1as,142
|
|
7
7
|
internal/common_enum/description_type.py,sha256=kGwkFQh6dMnjDl6ipWYpA-qbNRrhEpnPq3NleTsNwwk,118
|
|
@@ -33,6 +33,6 @@ internal/model/base_model.py,sha256=NS_GZvw_IqU1aZPHPpyQs6A741O34ybmzVzBPm9nGWU,
|
|
|
33
33
|
internal/model/operate.py,sha256=QSM6yXYXpJMwrqkUGEWZLrEBaUgqHwVHY_Fi4S42hKc,3190
|
|
34
34
|
internal/utils.py,sha256=CXYZs4rDDe33Zac27YeknBE4uQN437ys1YAbW3Xeyow,1517
|
|
35
35
|
internal/validator_utils.py,sha256=5ZLcNIgw1hvkYOj1f6gS9AYxe7Y3ufW9FyDxUS7FsMQ,1226
|
|
36
|
-
internal-1.0.
|
|
37
|
-
internal-1.0.
|
|
38
|
-
internal-1.0.
|
|
36
|
+
internal-1.0.74.dist-info/METADATA,sha256=lG1QJqLdmV2i9Z_UKLq5tvhfo5IPS0tZWKBSeOb9esc,663
|
|
37
|
+
internal-1.0.74.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
38
|
+
internal-1.0.74.dist-info/RECORD,,
|
|
File without changes
|