Python: More problems with counters

2014-08-17 Thread Alex De la rosa
Hi there, I was able to install the latest python client version with pip install riak==2.1.0rc1, however, counters still fails to work... I used the following code ( that is the same as in the documentation ): bucket = client.bucket_type('counter_bucket').bucket('likes') however I get the

Re: Python: More problems with counters

2014-08-17 Thread Alex De la rosa
Hi Eric! Thank you very much! this certainly solved it! :) however, I have to say that is very non intuitive as bucket_type would look like the data type (counter, set, map) and the bucket part the name of the bucket you created... so it looks as it should work exactly the contrary as how it has

Re: Python: More problems with counters

2014-08-17 Thread Eric Redmond
Bucket type is shared metadata across a set of buckets. That metadata needn't necessarily define a datatype. In fact, there are many cases where you might not. For example, you would use a bucket type for strong consistency, or associating a search index with many buckets. In other words: