neo4j-rest-client
neo4j-rest-client copied to clipboard
Object-oriented Python library to interact with Neo4j standalone REST server
When committing or rolling back from a transaction, subsequent calls to the client result in a TransactionException : ```python from neo4jrestclient import client import os c = client.GraphDatabase(url=os.environ["NEO4J_URL"]) res =...
hello when i entered >>> from neo4jrestclient.client import GraphDatabase >>> gdb = GraphDatabase("http://localhost:7474/db/data/") There are the following errors how can i resolve them? Traceback (most recent call last): File "",...
### Query: ``` MATCH (person:Person {id: 1}) OPTIONAL MATCH (person)-[:OWNS]->(product:Product) RETURN person, product ``` ### Execute Query ``` with graph.transaction(commit=False) as tx: results = graph.query(q, returns=(client.Node, client.Node, )) ``` ###...
For example: I created some indexed objects, but in the case one does not exist and one tries to use "single" (`index['user_id']["1"].single`), the following happens: ``` /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/neo4jrestclient/iterable.py in single(self) 65...
db.nodes.create(parameter=[]) fails with "Bad Request. Bad request syntax or unsupported method."
I tried turning options.CACHE on, but it didn't appear to have any effect. I dug into cachecontrol, and from what I can tell, it won't cache anything unless the response...
- https://neo4j-rest-client.readthedocs.org/en/latest/info.html It seems that node creation through the labels property is no longer supported: ``` >>> carl = people.create(name="Carl", age=25) ``` - https://neo4j-rest-client.readthedocs.org/en/latest/indices.html Make it clear that these indices...
http://neo4j-rest-client.readthedocs.org/en/latest/elements.html "Nodes Due to the syntax is fully compatible with neo4j.py, the next lines only show the commands added and its differences." the neo4j.py link is 404
Add support to schema based indexes and constraints, a feature that was introduced in Neo4j 2.0. http://docs.neo4j.org/chunked/stable/rest-api-schema-indexes.html http://docs.neo4j.org/chunked/stable/rest-api-schema-constraints.html Thanks in advance, Regards.
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'....