Skip to content

Commit

Permalink
chore: fix mypy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards committed Dec 13, 2024
1 parent 8eae978 commit e896928
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ietf/doc/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from rest_framework import filters as drf_filters
from rest_framework.mixins import ListModelMixin, RetrieveModelMixin
from rest_framework.pagination import LimitOffsetPagination
from rest_framework.permissions import BasePermission
from rest_framework.viewsets import GenericViewSet

from ietf.group.models import Group
Expand Down Expand Up @@ -48,7 +49,7 @@ class RfcFilter(filters.FilterSet):


class RfcViewSet(ListModelMixin, RetrieveModelMixin, GenericViewSet):
permission_classes = []
permission_classes: list[BasePermission] = []
queryset = (
Document.objects.filter(type_id="rfc")
.annotate(
Expand Down

0 comments on commit e896928

Please sign in to comment.