Hi All,

For those of you using the Python REST client (
https://github.com/versae/neo4j-rest-client) with neo4j 1.2.M05, are you
able to successfully access the relationships associated with a given node?
When I tried this today with my data, I saw the following.

Any thoughts as to what might be going on?

Thanks,
Chris

>>> n = gdb.node[252]
>>> n.properties
{'fullyObserved': False, 'type': 'Email Address', 'address':
'[email protected]'}
>>> n.relationships.all()
Traceback (most recent call last):
  File "", line 1, in
  File "neo4j_rest_client.py", line 430, in get_relationships
    url = self._node._dic[key]
KeyError: 'all relationships'
>>> n.relationships.incoming()
Traceback (most recent call last):
  File "", line 1, in
  File "neo4j_rest_client.py", line 430, in get_relationships
    url = self._node._dic[key]
KeyError: 'incoming relationships'
>>> n.relationships.outgoing()
Traceback (most recent call last):
  File "", line 1, in
  File "neo4j_rest_client.py", line 430, in get_relationships
    url = self._node._dic[key]
KeyError: 'outgoing relationships'
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to