Skip to content

Commit

Permalink
Fix redis query
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanSallami committed Oct 9, 2023
1 parent 7bf65b8 commit da08158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hybridagi/hybridstores/program_memory/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def add_programs(
for name, dep in dependencies.items():
for prog_dep in dep:
self.query(
'MATCH (n:Program {name:"'+name+'}),'+
'MATCH (n:Program {name:"'+name+'}), '+
'(m:Program {name:"'+prog_dep+'}) '+
'MERGE (n)-[:DEPENDS_ON]->(m)')
return indexes
Expand Down

0 comments on commit da08158

Please sign in to comment.