code: def partition_metadata(self, partition_key):
          
          resp = self.r_session.get(self.database_partition_url(partition_key))
          resp.raise_for_status()
          return response_to_json_dict(resp)
docs: Retrieves the metadata dictionary for the remote database partition.
  
          :param str partition_key: Partition key.
          :returns: Metadata dictionary for the database partition.
          :rtype: dict