You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unable to build cypher query to set "list" type value in property.
set entity.birth_date = coalesce(VALUE + entity.birth_date, entity.birth_date , [] + VALUE)
What I've tried:
from pypher import Pypher, __
p = Pypher()
node_gr = dict()
node_gr['name'] = 'XYZ'
p.Merge.node('ent', **node_gr)
p.SET(__.ent.__birth_place__ == __.COALESCE(__.ent.__birth_place__+
VALUE,__.ent.__birth_place__,[VALUE]))
Error:
python3.6/site-packages/pypher/builder.py in bind_param(self, value, name)
196 name = k
197 break
--> 198 elif bind and value in self._bound_params.keys():
199 for k, v in self._bound_params.items():
200 if k == value:
TypeError: unhashable type: 'list'
The text was updated successfully, but these errors were encountered:
unable to build cypher query to set "list" type value in property.
set entity.birth_date = coalesce(VALUE + entity.birth_date, entity.birth_date , [] + VALUE)
What I've tried:
from pypher import Pypher, __
p = Pypher()
node_gr = dict()
node_gr['name'] = 'XYZ'
p.Merge.node('ent', **node_gr)
p.SET(__.ent.__birth_place__ == __.COALESCE(__.ent.__birth_place__+
VALUE,__.ent.__birth_place__,[VALUE]))
Error:
python3.6/site-packages/pypher/builder.py in bind_param(self, value, name)
196 name = k
197 break
--> 198 elif bind and value in self._bound_params.keys():
199 for k, v in self._bound_params.items():
200 if k == value:
TypeError: unhashable type: 'list'
The text was updated successfully, but these errors were encountered: