def METHOD_NAME(self, queryset):
    parents_query_dict = self._get_parents_query_dict()
    if parents_query_dict:
        return queryset.filter(**parents_query_dict)
    else:
        return queryset