On Tue, Dec 21, 2010 at 17:27, Peter Neubauer <peter.neuba...@neotechnology.com> wrote: > Ahh, > yes, this is due to the RESTies not wanting to see keys with > whitespaces, so Jim and me changed it. Sorry for not communicating it!
But the change affects to all keys in URL returned? I mean, all these keys must be changed to be underscored? # Order BREADTH_FIRST = "breadth first" DEPTH_FIRST = "depth first" # Return RETURN_ALL_NODES = "all" RETURN_ALL_BUT_START_NODE = "all but start node" # Uniqueness NODE_GLOBAL = "node global" NODE_PATH = "node path" NODE_RECENT = "node recent" RELATIONSHIP_GLOBAL = "relationship global" RELATIONSHIP_PATH = "relationship path" RELATIONSHIP_RECENT = "relationship recent" > > > Cheers, > > /peter neubauer > > GTalk: neubauer.peter > Skype peter.neubauer > Phone +46 704 106975 > LinkedIn http://www.linkedin.com/in/neubauer > Twitter http://twitter.com/peterneubauer > > http://www.neo4j.org - Your high performance graph database. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Tue, Dec 21, 2010 at 1:20 PM, Javier de la Rosa <ver...@gmail.com> wrote: >> On Tue, Dec 21, 2010 at 02:31, Chris Diehl <di...@alumni.cmu.edu> 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': >>> 'tim.bel...@enron.com'} >>>>>> 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 >>> User@lists.neo4j.org >>> https://lists.neo4j.org/mailman/listinfo/user >>> >> >> >> >> -- >> Javier de la Rosa >> http://versae.es >> _______________________________________________ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Javier de la Rosa http://versae.es _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user