db = neo4j.GraphDatabaseService()
batch = neo4j.WriteBatch(db)
test_node = batch.create({'key': 'value'})
batch.set_properties(test_node, {'key': 'foo'})
batch.submit()
Failed WriteBatch Operation with py2neo