code: def get_bucket_props(self, bucket):
          
          bucket_type = self._get_bucket_type(bucket.bucket_type)
          url = self.bucket_properties_path(bucket.name,
                                            bucket_type=bucket_type)
          status, headers, body = self._request('GET', url)
  
          if status == 200:
              props = json.loads(bytes_to_str(body))
              return props['props']
          else:
              raise RiakError('Error getting bucket properties.')
docs: Get properties for a bucket