graphiti-core 0.17.5__py3-none-any.whl → 0.17.6__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.

Potentially problematic release.


This version of graphiti-core might be problematic. Click here for more details.

@@ -274,8 +274,14 @@ async def resolve_extracted_edges(
274
274
  # Determine which edge types are relevant for each edge
275
275
  edge_types_lst: list[dict[str, BaseModel]] = []
276
276
  for extracted_edge in extracted_edges:
277
- source_node_labels = uuid_entity_map[extracted_edge.source_node_uuid].labels + ['Entity']
278
- target_node_labels = uuid_entity_map[extracted_edge.target_node_uuid].labels + ['Entity']
277
+ source_node = uuid_entity_map.get(extracted_edge.source_node_uuid)
278
+ target_node = uuid_entity_map.get(extracted_edge.target_node_uuid)
279
+ source_node_labels = (
280
+ source_node.labels + ['Entity'] if source_node is not None else ['Entity']
281
+ )
282
+ target_node_labels = (
283
+ target_node.labels + ['Entity'] if target_node is not None else ['Entity']
284
+ )
279
285
  label_tuples = [
280
286
  (source_label, target_label)
281
287
  for source_label in source_node_labels
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphiti-core
3
- Version: 0.17.5
3
+ Version: 0.17.6
4
4
  Summary: A temporal graph building library
5
5
  Project-URL: Homepage, https://help.getzep.com/graphiti/graphiti/overview
6
6
  Project-URL: Repository, https://github.com/getzep/graphiti
@@ -65,13 +65,13 @@ graphiti_core/utils/bulk_utils.py,sha256=jMpGEyiAd1uCllGzxEpsV8pwLOq0DbWK4Ph_Qhd
65
65
  graphiti_core/utils/datetime_utils.py,sha256=Ti-2tnrDFRzBsbfblzsHybsM3jaDLP4-VT2t0VhpIzU,1357
66
66
  graphiti_core/utils/maintenance/__init__.py,sha256=vW4H1KyapTl-OOz578uZABYcpND4wPx3Vt6aAPaXh78,301
67
67
  graphiti_core/utils/maintenance/community_operations.py,sha256=ROKo9_5Jj3RqfTrD9wJjlDRSF6iUyXUY4czkc9RGVdw,9905
68
- graphiti_core/utils/maintenance/edge_operations.py,sha256=WVljCbILNMNkxdGuSXQncRglpByRzYhfVkvKpIawJ94,19261
68
+ graphiti_core/utils/maintenance/edge_operations.py,sha256=gVSNC-GWZ0Ud-ONfhUDlHlIb2z1mI6SYtZPptPXSTeQ,19471
69
69
  graphiti_core/utils/maintenance/graph_data_operations.py,sha256=4czJPiHZpaqhKYYcXonErYQV2tV86ai2H-cg6dK8u60,5192
70
70
  graphiti_core/utils/maintenance/node_operations.py,sha256=ZnopNRTNdBjBotQ2uQiI7EYtVhs__b8C9QfRvNiMG6Q,14580
71
71
  graphiti_core/utils/maintenance/temporal_operations.py,sha256=mJkw9xLB4W2BsLfC5POr0r-PHWL9SIfNj_l_xu0B5ug,3410
72
72
  graphiti_core/utils/maintenance/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
73
  graphiti_core/utils/ontology_utils/entity_types_utils.py,sha256=QJX5cG0GSSNF_Mm_yrldr69wjVAbN_MxLhOSznz85Hk,1279
74
- graphiti_core-0.17.5.dist-info/METADATA,sha256=WGz5dFLlBQ5foRMl7gnecaQzjvJlngqhcFEkLexJAmo,23812
75
- graphiti_core-0.17.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
76
- graphiti_core-0.17.5.dist-info/licenses/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
77
- graphiti_core-0.17.5.dist-info/RECORD,,
74
+ graphiti_core-0.17.6.dist-info/METADATA,sha256=qImM5HQtBgBPKMYSE0yINkVK0iTYne7AmZBaeKxGbWs,23812
75
+ graphiti_core-0.17.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
76
+ graphiti_core-0.17.6.dist-info/licenses/LICENSE,sha256=KCUwCyDXuVEgmDWkozHyniRyWjnWUWjkuDHfU6o3JlA,11325
77
+ graphiti_core-0.17.6.dist-info/RECORD,,