<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def partitioned_all_docs(self, partition_key, **kwargs):
 """ 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 """

        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)