Python library: Error with counters

Alex De la rosa at
Fri Aug 15 12:12:09 EDT 2014

Hi there,

I created a "counter" bucket called "likes" with the following shell script:

riak-admin bucket-type create likes '{"props":{"datatype":"counter"}}'

When I try to follow the guide [ ] to use this bucket
with Python, I found the following issue:

Traceback (most recent call last):
  File "", line 17, in <module>
    bucket = client.bucket_type('counter_bucket').bucket('likes')
AttributeError: 'RiakClient' object has no attribute 'bucket_type'

Something wrong? Is a fresh install from "pip" so I thought the Python
library would be in its last updated version?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list