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

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 h

Re: Python: More problems with counters

2014-08-17 Thread Eric Redmond
Alex, looking through your previous emails, it looked like you created a bucket type named "likes". If that's the case, you'd swap the function params: bucket = client.bucket_type('likes').bucket('counter_bucket') Hope that helps, Eric On Aug 17, 2014, at 10:33 AM, Alex De la rosa wrote: >