Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding label to node in a batch-based transaction causes exception #99

Open
weikai-booodl opened this issue Mar 19, 2014 · 1 comment
Open
Assignees

Comments

@weikai-booodl
Copy link

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.

@weikai-booodl weikai-booodl changed the title Add label to node in a batch-based transaction raise exception Adding label to node in a batch-based transaction causes exception Mar 19, 2014
@versae
Copy link
Owner

versae commented Mar 19, 2014

Unfortunately, labels support in batch-based transactions is not supported yet.

@versae versae self-assigned this Mar 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants