def put(self, key, value, safe=True, **params):
        if safe:
            params['return_body'] = True
            if 'vclock' not in params and key in self._vclocks:
                params['vclock'] = self._vclocks.pop(key)
        with self.make_client_context() as client:
            if self.client_id:
                client.set_client_id(self.client_id)
            response = client.put(self.name, key, self.dumps(value), **params)
        if response:
            return self._handle_response(key, response)
Puts the given key/value into the bucket.
dataset/ETHPy150Open dieseldev/diesel/diesel/protocols/riak.py/Bucket.put