Merge branch 'feature/oxy-work' - Resolved conflicts in graph_wrapper.py

This commit is contained in:
João Pedro Toledo Goncalves 2026-01-08 20:56:21 -03:00
commit e39a453702
2 changed files with 9 additions and 3 deletions

6
package-lock.json generated Normal file
View File

@ -0,0 +1,6 @@
{
"name": "oxy",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}

View File

@ -462,8 +462,8 @@ Tipos de relacionamento comuns:
MATCH (m:Memory {id: $id}) MATCH (m:Memory {id: $id})
OPTIONAL MATCH (m)-[r]->(target) OPTIONAL MATCH (m)-[r]->(target)
RETURN count(DISTINCT target) as total_connections, RETURN count(DISTINCT target) as total_connections,
count(DISTINCT r) as total_relationships, count(DISTINCT r) as total_relationships,
[type(r) IN collect(DISTINCT type(r)) WHERE type(r) IS NOT NULL] as relationship_types [type(r) IN collect(DISTINCT type(r)) WHERE type(r) IS NOT NULL] as relationship_types
""", id=memory_id) """, id=memory_id)
record = result.single() record = result.single()
@ -483,4 +483,4 @@ Tipos de relacionamento comuns:
"""Fecha conexão Neo4j""" """Fecha conexão Neo4j"""
if cls._driver: if cls._driver:
cls._driver.close() cls._driver.close()
cls._driver = None cls._driver = None