graphiti icon indicating copy to clipboard operation
graphiti copied to clipboard

Minor bug in dedupe_node_list

Open ma2za opened this issue 8 months ago • 1 comments

hi, i think there is a small bug here: https://github.com/getzep/graphiti/blob/5baaa6fa8c19e26827f618cf5349aff12c17fe98/graphiti_core/utils/maintenance/node_operations.py#L444

This list comprehension returns a list of None because the update method returns None.

Quick fix:

{'uuid': node.uuid, 'name': node.name, 'summary': node.summary, **node.attributes}

ma2za avatar May 03 '25 18:05 ma2za

Good catch, I will be fixing this

prasmussen15 avatar May 04 '25 14:05 prasmussen15