neo4j-rest-client
neo4j-rest-client copied to clipboard
Adding label to node in a batch-based transaction causes exception
Hi,
Test code as below
tx = db.transaction()
node = db.nodes.create()
node.labels.add("Test")
tx.commit()
The line node.labels.add will raise an exception like AttributeError: 'function' object has no attribute 'add'. I was wondering whether it is a bug or simply not supported.
Unfortunately, labels support in batch-based transactions is not supported yet.