Skip to content

added required parameter to the edge query results; #1559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

OxidBurn
Copy link
Contributor

Description

Add required edge property defaults to ensure consistency in graph operations.

Related Issues

Fixes issues where missing edge properties caused downstream errors in knowledge graph operations.

Changes Made

  • Added required parameter checking to get_edge and get_edges_batch methods
  • Implemented default values for critical edge properties (weight, source_id, description, keywords)
  • Added warning logs when defaults are applied for better debugging and visibility

Checklist

  • Changes tested locally
  • Code reviewed
  • Documentation updated (if necessary)
  • Unit tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant