Module Expr Str ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Return Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return CompareEq Call NameLoad NameLoad Call NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str NameLoad body Expr Str ImportFrom alias If AttributeLoad AttributeLoad NameLoad attr attr body Return Call SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad If NameLoad body TryExcept body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str ImportFrom alias If AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore ListComp TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad Str decorator_list Assign NameStore Call NameLoad NameLoad NameLoad keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Dict NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Str If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr orelse Return Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Dict NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body Return NameLoad orelse Return Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return CompareEq Call NameLoad NameLoad Call NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad orelse Return NameLoad decorator_list decorator_list
N/A N/A 
Copyright 2010 Rusty Klophaus <rusty@basho.com>
Copyright 2010 Justin Sheehy <justin@basho.com>
Copyright 2009 Jay Baird <jay@mochimedia.com>

This file is provided to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License.  You may obtain
a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
 six string_types PY2 N/A mimetypes riak.util lazy_property riak.datatypes TYPES bucket_property N/A N/A name doc N/A None N/A _prop_getter N/A N/A self N/A N/A N/A N/A N/A self get_property name N/A _prop_setter N/A N/A self value N/A N/A N/A N/A N/A self set_property name value N/A N/A N/A property _prop_getter _prop_setter doc doc N/A RiakBucket N/A object N/A N/A 
    The ``RiakBucket`` object allows you to access and change information
    about a Riak bucket, and provides methods to create or retrieve
    objects within the bucket.
     __init__ N/A N/A self client name bucket_type N/A N/A N/A 
        Returns a new ``RiakBucket`` instance.

        :param client: A :class:`RiakClient <riak.client.RiakClient>`
               instance
        :type client: :class:`RiakClient <riak.client.RiakClient>`
        :param name: The bucket name
        :type name: string
        :param bucket_type: The parent bucket type of this bucket
        :type bucket_type: :class:`BucketType`
         N/A N/A N/A isinstance name string_types N/A N/A N/A TypeError Bucket name must be a string N/A PY2 N/A N/A N/A N/A name N/A N/A name encode ascii N/A N/A N/A UnicodeError N/A N/A N/A TypeError Unicode bucket names are not supported. N/A N/A N/A isinstance bucket_type BucketType N/A N/A N/A TypeError Parent bucket type must be a BucketType instance N/A N/A self _client client N/A N/A self name name N/A N/A self bucket_type bucket_type N/A N/A self _encoders N/A N/A N/A self _decoders N/A N/A N/A self _resolver None N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A N/A N/A self bucket_type name N/A self name N/A self _client N/A __eq__ N/A N/A self other N/A N/A N/A N/A isinstance other N/A self __class__ N/A N/A N/A N/A hash self N/A hash other N/A N/A False N/A __ne__ N/A N/A self other N/A N/A N/A N/A isinstance other N/A self __class__ N/A N/A N/A N/A hash self N/A hash other N/A N/A True N/A get_encoder N/A N/A self content_type N/A N/A N/A 
        Get the encoding function for the provided content type for
        this bucket.

        :param content_type: the requested media type
        :type content_type: str
        :param content_type: Content type requested
         N/A N/A content_type N/A self _encoders N/A N/A N/A N/A self _encoders N/A content_type N/A N/A N/A N/A N/A self _client get_encoder content_type N/A set_encoder N/A N/A self content_type encoder N/A N/A N/A 
        Set the encoding function for the provided content type for
        this bucket.

        :param content_type: the requested media type
        :type content_type: str
        :param encoder: an encoding function, takes a single object
            argument and returns a string data as single argument.
        :type encoder: function
         N/A N/A N/A self _encoders N/A content_type encoder N/A self N/A get_decoder N/A N/A self content_type N/A N/A N/A 
        Get the decoding function for the provided content type for
        this bucket.

        :param content_type: the requested media type
        :type content_type: str
        :rtype: function
         N/A N/A content_type N/A self _decoders N/A N/A N/A N/A self _decoders N/A content_type N/A N/A N/A N/A N/A self _client get_decoder content_type N/A set_decoder N/A N/A self content_type decoder N/A N/A N/A 
        Set the decoding function for the provided content type for
        this bucket.

        :param content_type: the requested media type
        :type content_type: str
        :param decoder: a decoding function, takes a string and
            returns a Python type
        :type decoder: function
         N/A N/A N/A self _decoders N/A content_type decoder N/A self N/A new N/A N/A self key data content_type encoded_data N/A None None application/json None N/A N/A A shortcut for manually instantiating a new
        :class:`~riak.riak_object.RiakObject` or a new
        :class:`~riak.datatypes.Datatype`, based on the presence and value
        of the :attr:`datatype <BucketType.datatype>` bucket property. When
        the bucket contains a :class:`~riak.datatypes.Datatype`, all
        arguments are ignored except ``key``, otherwise they are used to
        initialize the :class:`~riak.riak_object.RiakObject`.

        :param key: Name of the key. Leaving this to be None (default)
                    will make Riak generate the key on store.
        :type key: str
        :param data: The data to store in a
           :class:`~riak.riak_object.RiakObject`, see
           :attr:`RiakObject.data <riak.riak_object.RiakObject.data>`.
        :type data: object
        :param content_type: The media type of the data stored in the
           :class:`~riak.riak_object.RiakObject`, see
           :attr:`RiakObject.content_type
           <riak.riak_object.RiakObject.content_type>`.
        :type content_type: str
        :param encoded_data: The encoded data to store in a
           :class:`~riak.riak_object.RiakObject`, see
           :attr:`RiakObject.encoded_data
           <riak.riak_object.RiakObject.encoded_data>`.
        :type encoded_data: str
        :rtype: :class:`~riak.riak_object.RiakObject` or
                :class:`~riak.datatypes.Datatype`

         riak RiakObject N/A N/A N/A self bucket_type datatype N/A N/A N/A N/A TYPES N/A N/A N/A self bucket_type datatype bucket self key key N/A PY2 N/A N/A N/A N/A N/A isinstance data string_types N/A N/A data N/A N/A data encode ascii N/A N/A N/A UnicodeError N/A N/A N/A TypeError Unicode data values are not supported. N/A obj N/A RiakObject N/A self _client self key N/A N/A obj content_type content_type N/A N/A data None N/A N/A N/A obj data data N/A N/A encoded_data None N/A N/A N/A obj encoded_data encoded_data N/A obj N/A get N/A N/A self key r pr timeout include_context basic_quorum notfound_ok N/A None None None None None None N/A N/A 
        Retrieve a :class:`~riak.riak_object.RiakObject` or
        :class:`~riak.datatypes.Datatype`, based on the presence and value
        of the :attr:`datatype <BucketType.datatype>` bucket property.

        :param key: Name of the key.
        :type key: string
        :param r: R-Value of the request (defaults to bucket's R)
        :type r: integer
        :param pr: PR-Value of the request (defaults to bucket's PR)
        :type pr: integer
        :param timeout: a timeout value in milliseconds
        :type timeout: int
        :param include_context: if the bucket contains datatypes, include
           the opaque context in the result
        :type include_context: bool
        :param basic_quorum: whether to use the "basic quorum" policy
           for not-founds
        :type basic_quorum: bool
        :param notfound_ok: whether to treat not-found responses as successful
        :type notfound_ok: bool
        :rtype: :class:`RiakObject <riak.riak_object.RiakObject>` or
           :class:`~riak.datatypes.Datatype`

         riak RiakObject N/A N/A N/A self bucket_type datatype N/A N/A N/A N/A N/A self _client fetch_datatype self key r r pr pr timeout timeout include_context include_context basic_quorum basic_quorum notfound_ok notfound_ok N/A N/A obj N/A RiakObject N/A self _client self key N/A N/A N/A obj reload r r pr pr timeout timeout basic_quorum basic_quorum notfound_ok notfound_ok N/A multiget N/A N/A self keys r pr timeout basic_quorum notfound_ok N/A None None None None None N/A N/A 
        Retrieves a list of keys belonging to this bucket in parallel.

        :param keys: the keys to fetch
        :type keys: list
        :param r: R-Value for the requests (defaults to bucket's R)
        :type r: integer
        :param pr: PR-Value for the requests (defaults to bucket's PR)
        :type pr: integer
        :param timeout: a timeout value in milliseconds
        :type timeout: int
        :param basic_quorum: whether to use the "basic quorum" policy
           for not-founds
        :type basic_quorum: bool
        :param notfound_ok: whether to treat not-found responses as successful
        :type notfound_ok: bool
        :rtype: list of :class:`RiakObjects <riak.riak_object.RiakObject>`,
            :class:`Datatypes <riak.datatypes.Datatype>`, or tuples of
            bucket_type, bucket, key, and the exception raised on fetch
         N/A bkeys N/A N/A N/A N/A self bucket_type name N/A self name key N/A key keys N/A N/A N/A N/A self _client multiget bkeys r r pr pr timeout timeout basic_quorum basic_quorum notfound_ok notfound_ok N/A _get_resolver N/A N/A self N/A N/A N/A N/A callable N/A self _resolver N/A N/A N/A self _resolver N/A N/A N/A N/A self _resolver None N/A N/A N/A N/A self _client resolver N/A N/A N/A TypeError resolver is not a function N/A _set_resolver N/A N/A self value N/A N/A N/A N/A N/A value None N/A callable value N/A N/A N/A self _resolver value N/A N/A N/A TypeError resolver is not a function N/A N/A resolver N/A property _get_resolver _set_resolver doc The sibling-resolution function for this
                           bucket. If the resolver is not set, the
                           client's resolver will be used. N/A n_val N/A bucket_property n_val doc 
    N-value for this bucket, which is the number of replicas
    that will be written of each object in the bucket.

    .. warning:: Set this once before you write any data to the
        bucket, and never change it again, otherwise unpredictable
        things could happen. This should only be used if you know what
        you are doing.
     N/A allow_mult N/A bucket_property allow_mult doc 
    If set to True, then writes with conflicting data will be stored
    and returned to the client.

    :type bool: boolean
     N/A r N/A bucket_property r doc 
    The default 'read' quorum for this bucket (how many replicas must
    reply for a successful read). This should be an integer less than
    the 'n_val' property, or a string of 'one', 'quorum', 'all', or
    'default' N/A pr N/A bucket_property pr doc 
    The default 'primary read' quorum for this bucket (how many
    primary replicas are required for a successful read). This should
    be an integer less than the 'n_val' property, or a string of
    'one', 'quorum', 'all', or 'default' N/A rw N/A bucket_property rw doc 
    The default 'read' and 'write' quorum for this bucket (equivalent
    to 'r' and 'w' but for deletes). This should be an integer less
    than the 'n_val' property, or a string of 'one', 'quorum', 'all',
    or 'default' N/A w N/A bucket_property w doc 
    The default 'write' quorum for this bucket (how many replicas must
    acknowledge receipt of a write). This should be an integer less
    than the 'n_val' property, or a string of 'one', 'quorum', 'all',
    or 'default' N/A dw N/A bucket_property dw doc 
    The default 'durable write' quorum for this bucket (how many
    replicas must commit the write). This should be an integer less
    than the 'n_val' property, or a string of 'one', 'quorum', 'all',
    or 'default' N/A pw N/A bucket_property pw doc 
    The default 'primary write' quorum for this bucket (how many
    primary replicas are required for a successful write). This should
    be an integer less than the 'n_val' property, or a string of
    'one', 'quorum', 'all', or 'default' set_property N/A N/A self key value N/A N/A N/A 
        Set a bucket property.

        :param key: Property to set.
        :type key: string
        :param value: Property value.
        :type value: mixed
         N/A N/A N/A self set_properties N/A key value N/A get_property N/A N/A self key N/A N/A N/A 
        Retrieve a bucket property.

        :param key: The property to retrieve.
        :type key: string
        :rtype: mixed
         N/A N/A N/A N/A self get_properties N/A key N/A set_properties N/A N/A self props N/A N/A N/A 
        Set multiple bucket properties in one call.

        :param props: A dictionary of properties
        :type props: dict
         N/A N/A N/A N/A self _client set_bucket_props self props N/A get_properties N/A N/A self N/A N/A N/A 
        Retrieve a dict of all bucket properties.

        :rtype: dict
         N/A N/A N/A N/A self _client get_bucket_props self N/A clear_properties N/A N/A self N/A N/A N/A 
        Reset all bucket properties to their defaults.
         N/A N/A N/A N/A self _client clear_bucket_props self N/A get_keys N/A N/A self N/A N/A N/A 
        Return all keys within the bucket.

        :rtype: list of keys
         N/A N/A N/A N/A self _client get_keys self N/A stream_keys N/A N/A self N/A N/A N/A 
        Streams all keys within the bucket through an iterator.

        The caller must close the stream when finished.  See
        :meth:`RiakClient.stream_keys()
        <riak.client.RiakClient.stream_keys>` for more details.

        :rtype: iterator
         N/A N/A N/A N/A self _client stream_keys self N/A new_from_file N/A N/A self key filename N/A N/A N/A Create a new Riak object in the bucket, using the contents of
        the specified file. This is a shortcut for :meth:`new`, where the
        ``encoded_data`` and ``content_type`` are set for you.

        .. warning:: This is not supported for buckets that contain
           :class:`Datatypes <riak.datatypes.Datatype>`.

        :param key: the key of the new object
        :type key: string
        :param filename: the file to read the contents from
        :type filename: string
        :rtype: :class:`RiakObject <riak.riak_object.RiakObject>`
         N/A binary_data None N/A N/A open filename rb f N/A N/A binary_data N/A N/A f read N/A N/A mimetype encoding N/A N/A mimetypes guess_type filename N/A encoding N/A N/A binary_data N/A bytearray binary_data encoding N/A N/A binary_data N/A bytearray binary_data N/A N/A mimetype N/A N/A mimetype application/octet-stream N/A PY2 N/A N/A N/A N/A self new key encoded_data binary_data content_type mimetype N/A N/A N/A N/A self new key encoded_data N/A bytes binary_data content_type mimetype N/A search_enabled N/A N/A self N/A N/A N/A 
        Returns True if search indexing is enabled for this
        bucket.

        .. deprecated:: 2.1.0 (Riak 2.0)
           Use :ref:`Riak Search 2.0 <yz-label>` instead.
         N/A N/A N/A N/A N/A self get_properties get search False N/A enable_search N/A N/A self N/A N/A N/A 
        Enable search indexing for this bucket.

        .. deprecated:: 2.1.0 (Riak 2.0)
           Use :ref:`Riak Search 2.0 <yz-label>` instead.
         N/A N/A N/A N/A self search_enabled N/A N/A N/A N/A self set_property search True N/A True N/A disable_search N/A N/A self N/A N/A N/A 
        Disable search indexing for this bucket.

        .. deprecated:: 2.1.0 (Riak 2.0)
           Use :ref:`Riak Search 2.0 <yz-label>` instead.
         N/A N/A N/A self search_enabled N/A N/A N/A N/A self set_property search False N/A True N/A search N/A N/A self query index N/A None params N/A N/A 
        Queries a search index over objects in this bucket/index. See
        :meth:`RiakClient.fulltext_search()
        <riak.client.RiakClient.fulltext_search>` for more details.

        :param query: the search query
        :type query: string
        :param index: the index to search over. Defaults to the bucket's name.
        :type index: string or None
        :param params: additional query flags
        :type params: dict
         N/A search_index N/A index N/A self name N/A N/A N/A N/A self _client fulltext_search search_index query params N/A get_index N/A N/A self index startkey endkey return_terms max_results continuation timeout term_regex N/A None None None None None None N/A N/A 
        Queries a secondary index over objects in this bucket,
        returning keys or index/key pairs. See
        :meth:`RiakClient.get_index()
        <riak.client.RiakClient.get_index>` for more details.
         N/A N/A N/A N/A self _client get_index self index startkey endkey return_terms return_terms max_results max_results continuation continuation timeout timeout term_regex term_regex N/A paginate_index N/A N/A self index startkey endkey return_terms max_results continuation timeout term_regex N/A None None 1000 None None None N/A N/A 
        Paginates through a secondary index over objects in this bucket,
        returning keys or index/key pairs. See
        :meth:`RiakClient.paginate_index()
        <riak.client.RiakClient.paginate_index>` for more details.
         N/A N/A N/A N/A self _client paginate_index self index startkey endkey return_terms return_terms max_results max_results continuation continuation timeout timeout term_regex term_regex N/A stream_index N/A N/A self index startkey endkey return_terms max_results continuation timeout term_regex N/A None None None None None None N/A N/A 
        Queries a secondary index over objects in this bucket,
        streaming keys or index/key pairs via an iterator.
        The caller must close the stream when finished.  See
        :meth:`RiakClient.stream_index()
        <riak.client.RiakClient.stream_index>` for more details.
         N/A N/A N/A N/A self _client stream_index self index startkey endkey return_terms return_terms max_results max_results continuation continuation timeout timeout term_regex term_regex N/A paginate_stream_index N/A N/A self index startkey endkey return_terms max_results continuation timeout term_regex N/A None None 1000 None None None N/A N/A 
        Paginates through a secondary index over objects in this bucket,
        streaming keys or index/key pairs. The caller must close the stream
        when finished.  See :meth:`RiakClient.paginate_stream_index()
        <riak.client.RiakClient.paginate_stream_index>` for more details.
         N/A N/A N/A N/A self _client paginate_stream_index self index startkey endkey return_terms return_terms max_results max_results continuation continuation timeout timeout term_regex term_regex N/A delete N/A N/A self key N/A kwargs N/A N/A Deletes a key from Riak. Short hand for
        ``bucket.new(key).delete()``. See :meth:`RiakClient.delete()
        <riak.client.RiakClient.delete>` for options.

        :param key: The key for the object
        :type key: string
        :rtype: RiakObject
         N/A N/A N/A N/A N/A self new key delete kwargs N/A get_counter N/A N/A self key N/A kwargs N/A N/A 
        Gets the value of a counter stored in this bucket. See
        :meth:`RiakClient.get_counter()
        <riak.client.RiakClient.get_counter>` for options.

        .. deprecated:: 2.1.0 (Riak 2.0) Riak 1.4-style counters are
           deprecated in favor of the :class:`~riak.datatypes.Counter`
           datatype.

        :param key: the key of the counter
        :type key: string
        :rtype: int
         N/A N/A N/A N/A self _client get_counter self key kwargs N/A update_counter N/A N/A self key value N/A kwargs N/A N/A 
        Updates the value of a counter stored in this bucket. Positive
        values increment the counter, negative values decrement. See
        :meth:`RiakClient.update_counter()
        <riak.client.RiakClient.update_counter>` for options.

        .. deprecated:: 2.1.0 (Riak 2.0) Riak 1.4-style counters are
           deprecated in favor of the :class:`~riak.datatypes.Counter`
           datatype.

        :param key: the key of the counter
        :type key: string
        :param value: the amount to increment or decrement
        :type value: integer
         N/A N/A N/A N/A self _client update_counter self key value kwargs N/A N/A increment_counter update_counter get_preflist N/A N/A self key N/A N/A N/A 
        Retrieve the preflist associated with a given bucket/key

        :param key: Name of the key.
        :type key: string
        :rtype: list of dict()
         N/A N/A N/A N/A self _client get_preflist self key N/A __str__ N/A N/A self N/A N/A N/A N/A N/A N/A self bucket_type is_default N/A N/A N/A N/A <RiakBucket {0!r}> format N/A self name N/A N/A N/A N/A <RiakBucket {0!r}/{1!r}> format N/A N/A self bucket_type name N/A self name N/A N/A __repr__ __str__ N/A BucketType N/A object N/A N/A 
    The ``BucketType`` object allows you to access and change
    properties on a Riak bucket type and access buckets within its
    namespace.
     __init__ N/A N/A self client name N/A N/A N/A 
        Returns a new ``BucketType`` instance.

        :param client: A :class:`RiakClient <riak.client.RiakClient>`
               instance
        :type client: :class:`RiakClient <riak.client.RiakClient>`
        :param name: The bucket-type's name
        :type name: string
         N/A N/A self _client client N/A N/A self name name N/A is_default N/A N/A self N/A N/A N/A 
        Whether this bucket type is the default type, or a user-defined type.

        :rtype: bool

         N/A N/A N/A self name default N/A get_property N/A N/A self key N/A N/A N/A 
        Retrieve a bucket-type property.

        :param key: The property to retrieve.
        :type key: string
        :rtype: mixed
         N/A N/A N/A N/A self get_properties N/A key N/A set_property N/A N/A self key value N/A N/A N/A 
        Set a bucket-type property.

        :param key: Property to set.
        :type key: string
        :param value: Property value.
        :type value: mixed
         N/A N/A N/A self set_properties N/A key value N/A get_properties N/A N/A self N/A N/A N/A 
        Retrieve a dict of all bucket-type properties.

        :rtype: dict
         N/A N/A N/A N/A self _client get_bucket_type_props self N/A set_properties N/A N/A self props N/A N/A N/A 
        Set multiple bucket-type properties in one call.

        :param props: A dictionary of properties
        :type props: dict
         N/A N/A N/A N/A self _client set_bucket_type_props self props N/A bucket N/A N/A self name N/A N/A N/A 
        Gets a bucket that belongs to this bucket-type.

        :param name: the bucket name
        :type name: str
        :rtype: :class:`RiakBucket`
         N/A N/A N/A N/A self _client bucket name self N/A get_buckets N/A N/A self timeout N/A None N/A N/A 
        Get the list of buckets under this bucket-type as
        :class:`RiakBucket <riak.bucket.RiakBucket>` instances.

        .. warning:: Do not use this in production, as it requires
           traversing through all keys stored in a cluster.

        .. note:: This request is automatically retried :attr:`retries`
           times if it fails due to network error.

        :param timeout: a timeout value in milliseconds
        :type timeout: int
        :rtype: list of :class:`RiakBucket <riak.bucket.RiakBucket>`
                instances
         N/A N/A N/A N/A self _client get_buckets bucket_type self timeout timeout N/A stream_buckets N/A N/A self timeout N/A None N/A N/A 
        Streams the list of buckets under this bucket-type. This is a
        generator method that should be iterated over.

        The caller must close the stream when finished.  See
        :meth:`RiakClient.stream_buckets()
        <riak.client.RiakClient.stream_buckets>` for more details.

        .. warning:: Do not use this in production, as it requires
           traversing through all keys stored in a cluster.

        :param timeout: a timeout value in milliseconds
        :type timeout: int
        :rtype: iterator that yields lists of :class:`RiakBucket
             <riak.bucket.RiakBucket>` instances
         N/A N/A N/A N/A self _client stream_buckets bucket_type self timeout timeout N/A datatype N/A N/A self N/A N/A N/A 
        The assigned datatype for this bucket type, if present.

        :rtype: None or string
         N/A N/A N/A self is_default N/A N/A None N/A N/A N/A N/A N/A N/A self get_properties get datatype N/A lazy_property __str__ N/A N/A self N/A N/A N/A N/A N/A <BucketType {0!r}> format N/A self name N/A N/A __repr__ __str__ __hash__ N/A N/A self N/A N/A N/A N/A hash N/A N/A self name N/A self _client N/A __eq__ N/A N/A self other N/A N/A N/A N/A isinstance other N/A self __class__ N/A N/A N/A N/A hash self N/A hash other N/A N/A False N/A __ne__ N/A N/A self other N/A N/A N/A N/A isinstance other N/A self __class__ N/A N/A N/A N/A hash self N/A hash other N/A N/A True N/A N/A