nucliadb 6.4.0.post4161__py3-none-any.whl → 6.4.0.post4167__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.
@@ -17,12 +17,10 @@
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
-
22
20
  from grpc import aio
23
21
 
24
22
  from nucliadb import health
25
- from nucliadb.ingest import logger
23
+ from nucliadb.ingest import SERVICE_NAME, logger
26
24
  from nucliadb.ingest.service.writer import WriterServicer
27
25
  from nucliadb.ingest.settings import settings
28
26
  from nucliadb_protos import writer_pb2_grpc
@@ -30,12 +28,12 @@ from nucliadb_telemetry.utils import setup_telemetry
30
28
  from nucliadb_utils.grpc import get_traced_grpc_server
31
29
 
32
30
 
33
- async def start_grpc(service_name: Optional[str] = None):
31
+ async def start_grpc(service_name: str = SERVICE_NAME):
34
32
  aio.init_grpc_aio() # type: ignore
35
33
 
36
- await setup_telemetry(service_name or "ingest")
34
+ await setup_telemetry(service_name)
37
35
  server = get_traced_grpc_server(
38
- service_name or "ingest",
36
+ service_name,
39
37
  max_receive_message=settings.max_receive_message_length,
40
38
  )
41
39
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nucliadb
3
- Version: 6.4.0.post4161
3
+ Version: 6.4.0.post4167
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.4.0.post4161
24
- Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.4.0.post4161
25
- Requires-Dist: nucliadb-protos>=6.4.0.post4161
26
- Requires-Dist: nucliadb-models>=6.4.0.post4161
27
- Requires-Dist: nidx-protos>=6.4.0.post4161
23
+ Requires-Dist: nucliadb-telemetry[all]>=6.4.0.post4167
24
+ Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.4.0.post4167
25
+ Requires-Dist: nucliadb-protos>=6.4.0.post4167
26
+ Requires-Dist: nucliadb-models>=6.4.0.post4167
27
+ Requires-Dist: nidx-protos>=6.4.0.post4167
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]
@@ -158,7 +158,7 @@ nucliadb/ingest/orm/processor/data_augmentation.py,sha256=v-pj4GbBWSuO8dQyahs5UD
158
158
  nucliadb/ingest/orm/processor/pgcatalog.py,sha256=ht9_I5WlPc6sSFTY8PsxHlpjN-EsaBaChwqsLlMXwUk,3100
159
159
  nucliadb/ingest/orm/processor/processor.py,sha256=jLGLyfj6TIXoLubmNvQvkj5K32MxDDSoktY6M8z5pVk,33149
160
160
  nucliadb/ingest/orm/processor/sequence_manager.py,sha256=uqEphtI1Ir_yk9jRl2gPf7BlzzXWovbARY5MNZSBI_8,1704
161
- nucliadb/ingest/service/__init__.py,sha256=MME_G_ERxzJR6JW_hfE2qcfXpmpH1kdG-S0a-M0qRm8,2043
161
+ nucliadb/ingest/service/__init__.py,sha256=LHQFUkdmNBOWqBG0Md9sMMI7g5TQZ-hLAnhw6ZblrJg,2002
162
162
  nucliadb/ingest/service/exceptions.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
163
163
  nucliadb/ingest/service/writer.py,sha256=EN-qEDJnL5in7cs1lC-z6b4ui_byFJMJ5huyCtwR_sU,21637
164
164
  nucliadb/middleware/__init__.py,sha256=A8NBlBuEkunCFMKpR9gnfNELsVn0Plc55BIQMbWDM8Q,2202
@@ -365,8 +365,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
365
365
  nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
366
366
  nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
367
367
  nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
368
- nucliadb-6.4.0.post4161.dist-info/METADATA,sha256=xZYY6m0tHa_k-3X9XuzMbfSy9oofa64mPUaTaCpq9GM,4226
369
- nucliadb-6.4.0.post4161.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
370
- nucliadb-6.4.0.post4161.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
371
- nucliadb-6.4.0.post4161.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
372
- nucliadb-6.4.0.post4161.dist-info/RECORD,,
368
+ nucliadb-6.4.0.post4167.dist-info/METADATA,sha256=THJ-YeTQ5PJ46_51WA0fMucJixuM9B8mgGzi_q8j9-E,4226
369
+ nucliadb-6.4.0.post4167.dist-info/WHEEL,sha256=ooBFpIzZCPdw3uqIQsOo4qqbA4ZRPxHnOH7peeONza0,91
370
+ nucliadb-6.4.0.post4167.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
371
+ nucliadb-6.4.0.post4167.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
372
+ nucliadb-6.4.0.post4167.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.0.0)
2
+ Generator: setuptools (80.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5