diff --git a/rest_framework-stubs/schemas/generators.pyi b/rest_framework-stubs/schemas/generators.pyi index 860abcda4..5f8eefb48 100644 --- a/rest_framework-stubs/schemas/generators.pyi +++ b/rest_framework-stubs/schemas/generators.pyi @@ -9,7 +9,6 @@ from rest_framework.request import Request from rest_framework.urlpatterns import _AnyURL from rest_framework.views import APIView -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 99b23369f..4708d9feb 100644 --- a/scripts/stubtest/allowlist_todo.txt +++ b/scripts/stubtest/allowlist_todo.txt @@ -59,7 +59,6 @@ rest_framework.renderers._BaseOpenAPIRenderer.render 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.openapi.AutoSchema.__init__ rest_framework.schemas.openapi.DRFOpenAPIInfo rest_framework.schemas.openapi.DRFOpenAPISchema