def METHOD_NAME(self):
    """
    Get QuerySet of all revisions that have existed during this workflow state.
    It's possible that the object is edited while the workflow is running,
    so some tasks may be repeated. All tasks that have been completed no matter
    what revision needs to be displayed on this page.
    """
    return (
        Revision.objects.for_instance(self.object)
        .filter(
            id__in=TaskState.objects.filter(
                workflow_state=self.workflow_state
            ).values_list("revision_id", flat=True),
        )
        .order_by("-created_at")
    )