nucliadb 6.4.2.post4362__py3-none-any.whl → 6.4.2.post4374__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.
- migrations/pg/0005_purge_tasks_index.py +28 -0
- nucliadb/tasks/retries.py +1 -1
- {nucliadb-6.4.2.post4362.dist-info → nucliadb-6.4.2.post4374.dist-info}/METADATA +6 -6
- {nucliadb-6.4.2.post4362.dist-info → nucliadb-6.4.2.post4374.dist-info}/RECORD +7 -6
- {nucliadb-6.4.2.post4362.dist-info → nucliadb-6.4.2.post4374.dist-info}/WHEEL +0 -0
- {nucliadb-6.4.2.post4362.dist-info → nucliadb-6.4.2.post4374.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.4.2.post4362.dist-info → nucliadb-6.4.2.post4374.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright (C) 2021 Bosutech XXI S.L.
|
2
|
+
#
|
3
|
+
# nucliadb is offered under the AGPL v3.0 and as commercial software.
|
4
|
+
# For commercial licensing, contact us at info@nuclia.com.
|
5
|
+
#
|
6
|
+
# AGPL:
|
7
|
+
# This program is free software: you can redistribute it and/or modify
|
8
|
+
# it under the terms of the GNU Affero General Public License as
|
9
|
+
# published by the Free Software Foundation, either version 3 of the
|
10
|
+
# License, or (at your option) any later version.
|
11
|
+
#
|
12
|
+
# This program is distributed in the hope that it will be useful,
|
13
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
# GNU Affero General Public License for more details.
|
16
|
+
#
|
17
|
+
# You should have received a copy of the GNU Affero General Public License
|
18
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
#
|
20
|
+
|
21
|
+
from nucliadb.common.maindb.pg import PGTransaction
|
22
|
+
|
23
|
+
|
24
|
+
async def migrate(txn: PGTransaction) -> None:
|
25
|
+
async with txn.connection.cursor() as cur:
|
26
|
+
await cur.execute(
|
27
|
+
"CREATE INDEX resources_purge_tasks_idx ON resources (key) WHERE key ~ '^/kbs/[^/]*/tasks/[^/]*/[^/]*$';"
|
28
|
+
)
|
nucliadb/tasks/retries.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.4.2.
|
3
|
+
Version: 6.4.2.post4374
|
4
4
|
Summary: NucliaDB
|
5
5
|
Author-email: Nuclia <nucliadb@nuclia.com>
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
@@ -19,11 +19,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
20
20
|
Requires-Python: <4,>=3.9
|
21
21
|
Description-Content-Type: text/markdown
|
22
|
-
Requires-Dist: nucliadb-telemetry[all]>=6.4.2.
|
23
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.4.2.
|
24
|
-
Requires-Dist: nucliadb-protos>=6.4.2.
|
25
|
-
Requires-Dist: nucliadb-models>=6.4.2.
|
26
|
-
Requires-Dist: nidx-protos>=6.4.2.
|
22
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.4.2.post4374
|
23
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.4.2.post4374
|
24
|
+
Requires-Dist: nucliadb-protos>=6.4.2.post4374
|
25
|
+
Requires-Dist: nucliadb-models>=6.4.2.post4374
|
26
|
+
Requires-Dist: nidx-protos>=6.4.2.post4374
|
27
27
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
28
28
|
Requires-Dist: nuclia-models>=0.24.2
|
29
29
|
Requires-Dist: uvicorn[standard]
|
@@ -36,6 +36,7 @@ migrations/pg/0001_bootstrap.py,sha256=Fsqkeof50m7fKiJN05kmNEMwiKDlOrAgcAS5sLLku
|
|
36
36
|
migrations/pg/0002_catalog.py,sha256=Rsleecu351Ty19kYZgOpqX5G3MEAY8nMxCJrAeuS2Mw,1690
|
37
37
|
migrations/pg/0003_catalog_kbid_index.py,sha256=uKq_vtnuf73GVf0mtl2rhzdk_czAoEU1UdiVKVZpA0M,1044
|
38
38
|
migrations/pg/0004_catalog_facets.py,sha256=FJFASHjfEHG3sNve9BP2HnnLO4xr7dnR6Qpctnmt4LE,2180
|
39
|
+
migrations/pg/0005_purge_tasks_index.py,sha256=3mtyFgpcK0QQ_NONYay7V9xICijCLNkyTPuoc0PBjRg,1139
|
39
40
|
migrations/pg/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
40
41
|
nucliadb/__init__.py,sha256=_abCmDJ_0ku483Os4UAjPX7Nywm39cQgAV_DiyjsKeQ,891
|
41
42
|
nucliadb/health.py,sha256=UIxxA4oms4HIsCRZM_SZsdkIZIlgzmOxw-qSHLlWuak,3465
|
@@ -293,7 +294,7 @@ nucliadb/tasks/consumer.py,sha256=E7_9bY5o7BVlioWX9yO9yimDJaKeuj-P-tiNCJcaRz8,69
|
|
293
294
|
nucliadb/tasks/logger.py,sha256=C7keOEO_mjLVp5VbqAZ2QXfqVB2Hot7NgBlUP_SDSMw,924
|
294
295
|
nucliadb/tasks/models.py,sha256=qrZKi5DNDQ07waMsp5L4_Fi7WRs57YiO-kmXlrBzEAA,1168
|
295
296
|
nucliadb/tasks/producer.py,sha256=UnpJAzhj_GElsCoO5G6T4m6MshsgOaqR2tVzJmEta64,2625
|
296
|
-
nucliadb/tasks/retries.py,sha256=
|
297
|
+
nucliadb/tasks/retries.py,sha256=z4RlXDnjswHBRrCT6_aKbyQZzg5pxX3TMpkNllLC-8o,8156
|
297
298
|
nucliadb/tasks/utils.py,sha256=tV1AbWdFc3qfIULX44Veqj41FCD1B6XYjG6brULBeiw,1459
|
298
299
|
nucliadb/tests/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
299
300
|
nucliadb/tests/config.py,sha256=JN_Jhgj-fwM9_8IeO9pwxr6C1PiwRDrXxm67Y38rU30,2080
|
@@ -367,8 +368,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
367
368
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
368
369
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
369
370
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
370
|
-
nucliadb-6.4.2.
|
371
|
-
nucliadb-6.4.2.
|
372
|
-
nucliadb-6.4.2.
|
373
|
-
nucliadb-6.4.2.
|
374
|
-
nucliadb-6.4.2.
|
371
|
+
nucliadb-6.4.2.post4374.dist-info/METADATA,sha256=--jiGRDysBjEUVtooZ1tFXSZUA4NVdV2wo_1HLrMInA,4152
|
372
|
+
nucliadb-6.4.2.post4374.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
373
|
+
nucliadb-6.4.2.post4374.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
374
|
+
nucliadb-6.4.2.post4374.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
375
|
+
nucliadb-6.4.2.post4374.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|