def METHOD_NAME(cls, activity_id, feed):
    return list(
        cls.objects.filter(
            activity_id=str(activity_id), feed=feed._meta.model_name
        ).values_list("aggregated_id", flat=True)
    )