nucliadb 6.4.2.post4349__py3-none-any.whl → 6.4.2.post4360__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.
@@ -721,6 +721,8 @@ def build_text_blocks_from_relations(
721
721
  )
722
722
  paragraph_count = 0
723
723
  for ent, subgraph in relations.entities.items():
724
+ if ent not in scores:
725
+ continue
724
726
  for rel, score in zip(subgraph.related_to, scores[ent]):
725
727
  key = (
726
728
  (
@@ -796,6 +798,8 @@ def get_paragraph_info_from_relations(
796
798
 
797
799
  # Loop over each entity in the relation graph
798
800
  for ent, subgraph in relations.entities.items():
801
+ if ent not in scores:
802
+ continue
799
803
  for rel_score, rel in zip(scores[ent], subgraph.related_to):
800
804
  if rel.metadata and rel.metadata.paragraph_id:
801
805
  p_id = ParagraphId.from_string(rel.metadata.paragraph_id)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nucliadb
3
- Version: 6.4.2.post4349
3
+ Version: 6.4.2.post4360
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.post4349
23
- Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.4.2.post4349
24
- Requires-Dist: nucliadb-protos>=6.4.2.post4349
25
- Requires-Dist: nucliadb-models>=6.4.2.post4349
26
- Requires-Dist: nidx-protos>=6.4.2.post4349
22
+ Requires-Dist: nucliadb-telemetry[all]>=6.4.2.post4360
23
+ Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.4.2.post4360
24
+ Requires-Dist: nucliadb-protos>=6.4.2.post4360
25
+ Requires-Dist: nucliadb-models>=6.4.2.post4360
26
+ Requires-Dist: nidx-protos>=6.4.2.post4360
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]
@@ -239,7 +239,7 @@ nucliadb/search/search/filters.py,sha256=1MkHlJjAQqoRCj7e5cEzK2HvBxGLE17I_omsjik
239
239
  nucliadb/search/search/find.py,sha256=ZocoQNN28OHOmMaroGVFCnce3YHPZbFb1-9jxLNHSFM,7805
240
240
  nucliadb/search/search/find_merge.py,sha256=c-7IlfjfdmWAvQOyM7IO3bKS1EQpnR4oi6pN6mwrQKw,19815
241
241
  nucliadb/search/search/graph_merge.py,sha256=y5V7X-BhjHsKDXE69tzQLIIKGm4XuaFrZXw0odcHVNM,3402
242
- nucliadb/search/search/graph_strategy.py,sha256=LtPWGVL0RzxUgDLjrYgoQdZFmPBbln1fUsmXM1z5krs,35941
242
+ nucliadb/search/search/graph_strategy.py,sha256=7ERzGLshrrpuu7m3PauPaK89fzyrT2oDNVhOMnCjka0,36043
243
243
  nucliadb/search/search/hydrator.py,sha256=-R37gCrGxkyaiHQalnTWHNG_FCx11Zucd7qA1vQCxuw,6985
244
244
  nucliadb/search/search/ingestion_agents.py,sha256=NeJr4EEX-bvFFMGvXOOwLv8uU7NuQ-ntJnnrhnKfMzY,3174
245
245
  nucliadb/search/search/merge.py,sha256=XiRBsxhYPshPV7lZXD-9E259KZOPIf4I2tKosY0lPo4,22470
@@ -367,8 +367,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
367
367
  nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
368
368
  nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
369
369
  nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
370
- nucliadb-6.4.2.post4349.dist-info/METADATA,sha256=3N91CFIKKxKqiC-UlGvO2FguOKsZr3ntzBskMM-03H4,4152
371
- nucliadb-6.4.2.post4349.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
372
- nucliadb-6.4.2.post4349.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
373
- nucliadb-6.4.2.post4349.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
374
- nucliadb-6.4.2.post4349.dist-info/RECORD,,
370
+ nucliadb-6.4.2.post4360.dist-info/METADATA,sha256=IdCzxP9kQ7Khr6yw7TX6W8OcvJS07AuvSqB2qwIy0ZE,4152
371
+ nucliadb-6.4.2.post4360.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
372
+ nucliadb-6.4.2.post4360.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
373
+ nucliadb-6.4.2.post4360.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
374
+ nucliadb-6.4.2.post4360.dist-info/RECORD,,