On Tue, Dec 21, 2010 at 02:31, Chris Diehl <[email protected]> wrote:
> 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?

I think is due to the change in the new server versions of the keys
"outgoing_relationships", "ingoing_relationships" and
"all_relationships" instead of "outgoing relationships", "ingoing
relationships" and "all relationships".
I will take a look.

Thanks for report the bug.

>
> 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
>



-- 
Javier de la Rosa
http://versae.es
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to