Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,8 @@ def get_entity_by_id(id):
# Due to the use of entity cache from `query_target_entity()`, we don't want to exclude the `neo4j_top_props_to_skip`
# from actual Neo4j query. And it's not s performance concern neither. - Zhou 10/1/2025
for item in neo4j_top_props_to_skip:
complete_dict.pop(item)
# Use default value to avoid KeyError if the key is not found
complete_dict.pop(item, f'Key {item} not found')

# Also normalize the result based on schema
final_result = schema_manager.normalize_entity_result_for_response(complete_dict)
Expand Down