Riakkit 0.6.0a (python riak ORM) released: code restructuring, bug fixes, unittesting, and more

2012-07-04 Thread Shuhao Wu
Hi Riak users, It's been a while since I've done a riakkit release, so let me quickly introduce the project (again, for some of you). Riakkit is basically an object mapper for python and riak. It allows for RAD with a lot of automation. Here's a basic example code: class User(Document):

Re: Pass json as argument to mapreduce

2012-07-04 Thread Mathias Meyer
Venki, You don't have to serialize the argument as a JSON string, it can simply be specified as a normal JSON data structure, just like the other data in the MapReduce request: curl -v -d '{"inputs":[["artists", "Beatles"]], "query":[{"map":{"language":"javascript","source":"function(v, k, a)