diff --git a/rest_framework-stubs/schemas/generators.pyi b/rest_framework-stubs/schemas/generators.pyi index 4e47062ad..44c0edbe3 100644 --- a/rest_framework-stubs/schemas/generators.pyi +++ b/rest_framework-stubs/schemas/generators.pyi @@ -10,7 +10,6 @@ from rest_framework.urlpatterns import _AnyURL from rest_framework.views import APIView from typing_extensions import TypeAlias -def common_path(paths: Iterable[str]) -> str: ... def get_pk_name(model: type[Model]) -> str: ... def is_api_view(callback: Any) -> bool: ... def endpoint_ordering(endpoint: tuple[Incomplete, Incomplete, Incomplete]) -> tuple[int]: ... diff --git a/scripts/stubtest/allowlist_todo.txt b/scripts/stubtest/allowlist_todo.txt index 9b407de32..203426152 100644 --- a/scripts/stubtest/allowlist_todo.txt +++ b/scripts/stubtest/allowlist_todo.txt @@ -64,7 +64,6 @@ rest_framework.request.Request.QUERY_PARAMS rest_framework.routers.BaseRouter.register rest_framework.schemas.SchemaGenerator.__init__ rest_framework.schemas.coreapi.SchemaGenerator.__init__ -rest_framework.schemas.generators.common_path rest_framework.schemas.get_schema_view rest_framework.schemas.openapi.AutoSchema.__init__ rest_framework.schemas.openapi.DRFOpenAPIInfo