nucliadb 6.5.1.post4525__py3-none-any.whl → 6.5.1.post4530__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/nidx.py +6 -2
- {nucliadb-6.5.1.post4525.dist-info → nucliadb-6.5.1.post4530.dist-info}/METADATA +6 -6
- {nucliadb-6.5.1.post4525.dist-info → nucliadb-6.5.1.post4530.dist-info}/RECORD +6 -6
- {nucliadb-6.5.1.post4525.dist-info → nucliadb-6.5.1.post4530.dist-info}/WHEEL +0 -0
- {nucliadb-6.5.1.post4525.dist-info → nucliadb-6.5.1.post4530.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.5.1.post4525.dist-info → nucliadb-6.5.1.post4530.dist-info}/top_level.txt +0 -0
nucliadb/common/nidx.py
CHANGED
@@ -170,6 +170,8 @@ class NidxServiceUtility(NidxUtility):
|
|
170
170
|
indexer: Union[NidxNatsIndexer, NidxGrpcIndexer]
|
171
171
|
|
172
172
|
def __init__(self, service_name: str):
|
173
|
+
self.service_name = service_name
|
174
|
+
|
173
175
|
if not settings.nidx_api_address or not settings.nidx_searcher_address:
|
174
176
|
raise ValueError("NIDX_API_ADDRESS and NIDX_SEARCHER_ADDRESS are required")
|
175
177
|
|
@@ -182,9 +184,11 @@ class NidxServiceUtility(NidxUtility):
|
|
182
184
|
|
183
185
|
async def initialize(self):
|
184
186
|
await self.indexer.initialize()
|
185
|
-
self.api_client = NidxApiStub(
|
187
|
+
self.api_client = NidxApiStub(
|
188
|
+
get_traced_grpc_channel(settings.nidx_api_address, self.service_name)
|
189
|
+
)
|
186
190
|
self.searcher_client = NidxSearcherStub(
|
187
|
-
get_traced_grpc_channel(settings.nidx_searcher_address,
|
191
|
+
get_traced_grpc_channel(settings.nidx_searcher_address, self.service_name)
|
188
192
|
)
|
189
193
|
|
190
194
|
async def finalize(self):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.5.1.
|
3
|
+
Version: 6.5.1.post4530
|
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.5.1.
|
23
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.5.1.
|
24
|
-
Requires-Dist: nucliadb-protos>=6.5.1.
|
25
|
-
Requires-Dist: nucliadb-models>=6.5.1.
|
26
|
-
Requires-Dist: nidx-protos>=6.5.1.
|
22
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.5.1.post4530
|
23
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.5.1.post4530
|
24
|
+
Requires-Dist: nucliadb-protos>=6.5.1.post4530
|
25
|
+
Requires-Dist: nucliadb-models>=6.5.1.post4530
|
26
|
+
Requires-Dist: nidx-protos>=6.5.1.post4530
|
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]
|
@@ -67,7 +67,7 @@ nucliadb/common/exceptions.py,sha256=_PJk_NfAhZBFBvmgAfvsJKZ9KuRt5Y1cNsH3-cXE07w
|
|
67
67
|
nucliadb/common/filter_expression.py,sha256=aRbGfg2pci7sUo1KgSqcm72Eu-3Ordy8knnW6DYId5o,6568
|
68
68
|
nucliadb/common/ids.py,sha256=4QjoIofes_vtKj2HsFWZf8VVIVWXxdkYtLpx1n618Us,8239
|
69
69
|
nucliadb/common/locking.py,sha256=RL0CabZVPzxHZyUjYeUyLvsJTm7W3J9o4fEgsY_ufNc,5896
|
70
|
-
nucliadb/common/nidx.py,sha256=
|
70
|
+
nucliadb/common/nidx.py,sha256=4WHcEkLdH54S2C0FcLwHvcQXMiRj2lZ7zqOEbD8eEM8,9189
|
71
71
|
nucliadb/common/vector_index_config.py,sha256=LqGwhrDCp1q1vBow3scd1Chhr4GLYjYnGL72FKvOYYc,1552
|
72
72
|
nucliadb/common/back_pressure/__init__.py,sha256=paAcAZcfGRTyURF9lnn3vX0vcwakTEVswG_xcdGBH-U,928
|
73
73
|
nucliadb/common/back_pressure/cache.py,sha256=ANvXglWzI5naAD6N4E_fNi17qS6KNyAhjLeh6WlZZ84,2931
|
@@ -375,8 +375,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
375
375
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
376
376
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
377
377
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
378
|
-
nucliadb-6.5.1.
|
379
|
-
nucliadb-6.5.1.
|
380
|
-
nucliadb-6.5.1.
|
381
|
-
nucliadb-6.5.1.
|
382
|
-
nucliadb-6.5.1.
|
378
|
+
nucliadb-6.5.1.post4530.dist-info/METADATA,sha256=VLBiZFd6EuYQ_Fq7g-Ag7UsS95inA5Qul84WOIW4Dj0,4158
|
379
|
+
nucliadb-6.5.1.post4530.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
380
|
+
nucliadb-6.5.1.post4530.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
381
|
+
nucliadb-6.5.1.post4530.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
382
|
+
nucliadb-6.5.1.post4530.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|