Skip to content

Commit

Permalink
fix: OPTIC-362: Ensure that count queries use strict select values (#…
Browse files Browse the repository at this point in the history
…5315)

* fix: OPTIC-362: Ensure that count queries use strict select values

* feat: OPTIC-362: Whitespace

---------

Co-authored-by: Wesley Lima <wesley@heartex.com>
  • Loading branch information
bmartel and Wesley Lima committed Feb 23, 2024
1 parent 706a3f4 commit 4808b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion label_studio/data_manager/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ class TaskListAPI(generics.ListCreateAPIView):
PUT=all_permissions.tasks_change,
DELETE=all_permissions.tasks_delete,
)
pagination_class = TaskPagination

@staticmethod
def get_task_serializer_context(request, project):
Expand Down Expand Up @@ -228,7 +229,6 @@ def get(self, request):
context = self.get_task_serializer_context(self.request, project)

# paginated tasks
self.pagination_class = TaskPagination
page = self.paginate_queryset(queryset)

# get request params
Expand Down

0 comments on commit 4808b96

Please sign in to comment.