nucliadb 6.3.5.post4026__py3-none-any.whl → 6.3.5.post4028__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.
- nucliadb/common/cache.py +3 -2
- {nucliadb-6.3.5.post4026.dist-info → nucliadb-6.3.5.post4028.dist-info}/METADATA +6 -6
- {nucliadb-6.3.5.post4026.dist-info → nucliadb-6.3.5.post4028.dist-info}/RECORD +6 -6
- {nucliadb-6.3.5.post4026.dist-info → nucliadb-6.3.5.post4028.dist-info}/WHEEL +0 -0
- {nucliadb-6.3.5.post4026.dist-info → nucliadb-6.3.5.post4028.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.3.5.post4026.dist-info → nucliadb-6.3.5.post4028.dist-info}/top_level.txt +0 -0
nucliadb/common/cache.py
CHANGED
@@ -91,6 +91,7 @@ class Cache(Generic[T], ABC):
|
|
91
91
|
def __del__(self):
|
92
92
|
# we want to clear the cache before deleting the object and set the
|
93
93
|
# metric appropriately
|
94
|
+
# XXX: apparently, this doesn't work properly. Don't rely on it
|
94
95
|
self.clear()
|
95
96
|
|
96
97
|
@abstractmethod
|
@@ -164,7 +165,7 @@ def delete_resource_cache() -> None:
|
|
164
165
|
cache = rcache.get()
|
165
166
|
if cache is not None:
|
166
167
|
rcache.set(None)
|
167
|
-
|
168
|
+
cache.clear()
|
168
169
|
|
169
170
|
|
170
171
|
def get_extracted_text_cache() -> Optional[ExtractedTextCache]:
|
@@ -180,4 +181,4 @@ def delete_extracted_text_cache() -> None:
|
|
180
181
|
cache = etcache.get()
|
181
182
|
if cache is not None:
|
182
183
|
etcache.set(None)
|
183
|
-
|
184
|
+
cache.clear()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.3.5.
|
3
|
+
Version: 6.3.5.post4028
|
4
4
|
Summary: NucliaDB
|
5
5
|
Author-email: Nuclia <nucliadb@nuclia.com>
|
6
6
|
License: AGPL
|
@@ -20,11 +20,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
21
21
|
Requires-Python: <4,>=3.9
|
22
22
|
Description-Content-Type: text/markdown
|
23
|
-
Requires-Dist: nucliadb-telemetry[all]>=6.3.5.
|
24
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.5.
|
25
|
-
Requires-Dist: nucliadb-protos>=6.3.5.
|
26
|
-
Requires-Dist: nucliadb-models>=6.3.5.
|
27
|
-
Requires-Dist: nidx-protos>=6.3.5.
|
23
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.3.5.post4028
|
24
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.5.post4028
|
25
|
+
Requires-Dist: nucliadb-protos>=6.3.5.post4028
|
26
|
+
Requires-Dist: nucliadb-models>=6.3.5.post4028
|
27
|
+
Requires-Dist: nidx-protos>=6.3.5.post4028
|
28
28
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
29
29
|
Requires-Dist: nuclia-models>=0.24.2
|
30
30
|
Requires-Dist: uvicorn[standard]
|
@@ -53,7 +53,7 @@ nucliadb/backups/settings.py,sha256=SyzsInj1BRbBI0atg5IXWbMbOZ_eVg4eSQ3IcnUhCxQ,
|
|
53
53
|
nucliadb/backups/tasks.py,sha256=WkL1LgdYBHbV_A5ilyYv5p3zmXwxH68TDudytN5f7zk,4225
|
54
54
|
nucliadb/backups/utils.py,sha256=_Vogjqcru5oqNZM-bZ0q7Ju79Bv1PD-LVFEa7Z-Q13I,1261
|
55
55
|
nucliadb/common/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
56
|
-
nucliadb/common/cache.py,sha256=
|
56
|
+
nucliadb/common/cache.py,sha256=bwkKJ3tgsDE794SIklkOrAwY8vPSvyambC0y8ziMthg,5669
|
57
57
|
nucliadb/common/constants.py,sha256=QpigxJh_CtD85Evy0PtV5cVq6x0U_f9xfIcXz1ymkUg,869
|
58
58
|
nucliadb/common/counters.py,sha256=8lOi3A2HeLDDlcNaS2QT1SfD3350VPBjiY3FkmHH1V8,977
|
59
59
|
nucliadb/common/ids.py,sha256=4QjoIofes_vtKj2HsFWZf8VVIVWXxdkYtLpx1n618Us,8239
|
@@ -361,8 +361,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
361
361
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
362
362
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
363
363
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
364
|
-
nucliadb-6.3.5.
|
365
|
-
nucliadb-6.3.5.
|
366
|
-
nucliadb-6.3.5.
|
367
|
-
nucliadb-6.3.5.
|
368
|
-
nucliadb-6.3.5.
|
364
|
+
nucliadb-6.3.5.post4028.dist-info/METADATA,sha256=NyLX9AFnvAlxlLdbQgkb4cFrs8TUUicC_KhBcLaWLCs,4301
|
365
|
+
nucliadb-6.3.5.post4028.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
366
|
+
nucliadb-6.3.5.post4028.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
367
|
+
nucliadb-6.3.5.post4028.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
368
|
+
nucliadb-6.3.5.post4028.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|