Skip to content

Commit

Permalink
Fix typing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Butkin committed Mar 12, 2024
1 parent eb63ca3 commit 1692e1b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions restdoctor/rest_framework/pagination/cursor_uuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import contextlib
import typing
from typing import Any

from django.core.exceptions import ObjectDoesNotExist
from rest_framework.pagination import BasePagination
Expand Down Expand Up @@ -35,8 +34,8 @@ def get_order(default_order: str, serializer_keys: typing.Sequence[str]) -> str:

def get_cursor(
queryset: QuerySet,
after_value: Any = None,
before_value: Any = None,
after_value: typing.Any = None,
before_value: typing.Any = None,
default_order: str = None,
cursor_field_name: str = 'uuid',
) -> typing.Tuple[typing.Any, str]:
Expand Down

0 comments on commit 1692e1b

Please sign in to comment.