code: def decode_preflist(self, item):
          
          result = {'partition': item.partition,
                    'node': bytes_to_str(item.node),
                    'primary': item. primary}
          return result
docs: Decodes a preflist response
  
          :param preflist: a bucket/key preflist
          :type preflist: list of
                          riak.pb.riak_kv_pb2.RpbBucketKeyPreflistItem
          :rtype dict