We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 513fe97 commit 4eae1a2Copy full SHA for 4eae1a2
1 file changed
src/api/notifications/views.py
@@ -27,9 +27,9 @@ class NotificationViewSet(viewsets.ReadOnlyModelViewSet):
27
permission_classes = [IsAuthenticated]
28
serializer_class = NotificationSerializer
29
30
- def get_queryset(
+ def get_queryset( # pyright: ignore[reportIncompatibleMethodOverride]
31
self,
32
- ) -> QuerySet[Notification]: # pyright: ignore[reportIncompatibleMethodOverride]
+ ) -> QuerySet[Notification]:
33
return (
34
Notification.objects.filter(user=self.request.user)
35
.select_related(
0 commit comments