code: def partitioned_all_docs(self, partition_key, **kwargs):
          
          resp = get_docs(self.r_session,
                          '/'.join([
                              self.database_partition_url(partition_key),
                              '_all_docs'
                          ]),
                          self.client.encoder,
                          **kwargs)
          return response_to_json_dict(resp)
docs: Wraps the _all_docs primary index on the database partition, and returns
          the results by value.
  
          See :func:`~cloudant.database.CouchDatabase.all_docs` method for further
          details.
  
          :param str partition_key: Partition key.
          :param kwargs: See :func:`~cloudant.database.CouchDatabase.all_docs`
              method for available keyword arguments.
          :returns: Raw JSON response content from ``_all_docs`` endpoint.
          :rtype: dict