Hi,

Can the property values specified in relationships be custom objects?

E.g.

class Dummy: pass

db = neo4j.GraphDatabase("test")
with db.transaction:
foo = db.node()
bar = db.node()
typ = Dummy()
 foo.RELATION(bar, rel = typ)

I get the following error for the above:

RuntimeError: No matching overloads found. at
src/native/common/jp_method.cpp:121

function __call__ in _primitives.py at line 283
relationship.update(attributes)

function update in _primitives.py at line 126
self[key] = value

function __setitem__ in _primitives.py at line 60
self.__set(item, value)

Any ideas? Do i need to overload any methods in class Dummy?

Thanks,
Subhajit
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to