-
fix: Neptune search node_name and has_edges return type (#2384)
发布于
2026-03-12 09:47:09 +00:00 Summary
- Add
node_nameparameter to Neptune Analytics search methods to match
the interface contract - Fix Neptune
has_edgesto return edge tuples instead of booleans,
which causedTypeErrorinretrieve_existing_edgeswhen accessing
edge[2] - Add defensive
str()wrapping foredge[2]in
retrieve_existing_edges
Test plan
- Run pipeline with Neptune Analytics backend and verify
cognify
completes withoutTypeErroron edge saving - Verify Neptune Analytics search methods work with
node_name
parameter
🤖 Generated with Claude Code
Summary by CodeRabbit
- Bug Fixes
- Improved edge data retrieval logic in the graph database layer to
ensure consistent data handling. - Enhanced type safety for edge relationship processing to prevent
potential type-related errors.
下载附件
- Add