def METHOD_NAME(self, values):
    pks = {}
    for val in values:
        content_type_id, object_id = self.get_content_type_id_object_id(
            val)
        pks.setdefault(content_type_id, [])
        pks[content_type_id].append(object_id)
    return pks