nucliadb 6.3.5.post3972__py3-none-any.whl → 6.3.5.post3980__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/ingest/service/__init__.py +6 -4
- {nucliadb-6.3.5.post3972.dist-info → nucliadb-6.3.5.post3980.dist-info}/METADATA +6 -6
- {nucliadb-6.3.5.post3972.dist-info → nucliadb-6.3.5.post3980.dist-info}/RECORD +6 -6
- {nucliadb-6.3.5.post3972.dist-info → nucliadb-6.3.5.post3980.dist-info}/WHEEL +0 -0
- {nucliadb-6.3.5.post3972.dist-info → nucliadb-6.3.5.post3980.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.3.5.post3972.dist-info → nucliadb-6.3.5.post3980.dist-info}/top_level.txt +0 -0
@@ -17,10 +17,12 @@
|
|
17
17
|
# You should have received a copy of the GNU Affero General Public License
|
18
18
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
|
+
from typing import Optional
|
21
|
+
|
20
22
|
from grpc import aio
|
21
23
|
|
22
24
|
from nucliadb import health
|
23
|
-
from nucliadb.ingest import
|
25
|
+
from nucliadb.ingest import logger
|
24
26
|
from nucliadb.ingest.service.writer import WriterServicer
|
25
27
|
from nucliadb.ingest.settings import settings
|
26
28
|
from nucliadb_protos import writer_pb2_grpc
|
@@ -28,12 +30,12 @@ from nucliadb_telemetry.utils import setup_telemetry
|
|
28
30
|
from nucliadb_utils.grpc import get_traced_grpc_server
|
29
31
|
|
30
32
|
|
31
|
-
async def start_grpc(service_name: str =
|
33
|
+
async def start_grpc(service_name: Optional[str] = None):
|
32
34
|
aio.init_grpc_aio() # type: ignore
|
33
35
|
|
34
|
-
await setup_telemetry(service_name)
|
36
|
+
await setup_telemetry(service_name or "ingest")
|
35
37
|
server = get_traced_grpc_server(
|
36
|
-
service_name,
|
38
|
+
service_name or "ingest",
|
37
39
|
max_receive_message=settings.max_receive_message_length,
|
38
40
|
)
|
39
41
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.3.5.
|
3
|
+
Version: 6.3.5.post3980
|
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.post3980
|
24
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.5.post3980
|
25
|
+
Requires-Dist: nucliadb-protos>=6.3.5.post3980
|
26
|
+
Requires-Dist: nucliadb-models>=6.3.5.post3980
|
27
|
+
Requires-Dist: nidx-protos>=6.3.5.post3980
|
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]
|
@@ -155,7 +155,7 @@ nucliadb/ingest/orm/processor/data_augmentation.py,sha256=HpSU9olDHcTfECDYCsmm4y
|
|
155
155
|
nucliadb/ingest/orm/processor/pgcatalog.py,sha256=f32PIEXWktWzGDws6Ffife37OAfrseP5IOti_Cb4ir8,3012
|
156
156
|
nucliadb/ingest/orm/processor/processor.py,sha256=Tb87wm9Yqd4sS_x_wFTaIG3Tn3sznG8AuLCOanYhVDQ,32536
|
157
157
|
nucliadb/ingest/orm/processor/sequence_manager.py,sha256=uqEphtI1Ir_yk9jRl2gPf7BlzzXWovbARY5MNZSBI_8,1704
|
158
|
-
nucliadb/ingest/service/__init__.py,sha256=
|
158
|
+
nucliadb/ingest/service/__init__.py,sha256=MME_G_ERxzJR6JW_hfE2qcfXpmpH1kdG-S0a-M0qRm8,2043
|
159
159
|
nucliadb/ingest/service/exceptions.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
160
160
|
nucliadb/ingest/service/writer.py,sha256=duFp2EOA52Mkz8kJcV1apCDgsUmkwpwGuubVra5Aa7o,22317
|
161
161
|
nucliadb/middleware/__init__.py,sha256=A8NBlBuEkunCFMKpR9gnfNELsVn0Plc55BIQMbWDM8Q,2202
|
@@ -356,8 +356,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
356
356
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
357
357
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
358
358
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
359
|
-
nucliadb-6.3.5.
|
360
|
-
nucliadb-6.3.5.
|
361
|
-
nucliadb-6.3.5.
|
362
|
-
nucliadb-6.3.5.
|
363
|
-
nucliadb-6.3.5.
|
359
|
+
nucliadb-6.3.5.post3980.dist-info/METADATA,sha256=FUj9jkftZSJQHktehmB7BYCmk2M4_LMtd-A733dLepM,4301
|
360
|
+
nucliadb-6.3.5.post3980.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
361
|
+
nucliadb-6.3.5.post3980.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
362
|
+
nucliadb-6.3.5.post3980.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
363
|
+
nucliadb-6.3.5.post3980.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|