Hi,

I'm doing some tests with riak and python client. I've got this error
when trying to get keys of a bucket:

In [1]: from connection import db

In [2]: b = db.bucket('test')

In [3]: b.get_keys()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/workspace/ag/src/lib/db/<ipython console> in <module>()

AttributeError: 'Bucket' object has no attribute 'get_keys'

In [4]: b.bucket.get_keys()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/workspace/ag/src/lib/db/<ipython console> in <module>()

/usr/local/lib/python2.6/dist-packages/riak-1.1.1-py2.6.egg/riak/bucket.pyc
in get_keys(self)
    324         t = self._client.get_transport()
    325         return t.get_bucket_props(self)
    326
    327     def get_keys(self):
--> 328         return self._client.get_transport().get_keys(self)

AttributeError: 'RiakPbcTransport' object has no attribute 'get_keys'


Is this a bug?

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to