File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,16 @@ class DefaultRouter(SimpleRouter):
60
60
include_format_suffixes : bool
61
61
root_view_name : str
62
62
default_schema_renderers : Any
63
- APIRootView = APIRootView
64
- APISchemaView = SchemaView
65
- SchemaGenerator = SchemaGenerator
66
-
63
+ APIRootView : type [APIRootView ]
64
+ APISchemaView : type [SchemaView ]
65
+ SchemaGenerator : type [SchemaGenerator ]
67
66
root_renderers : list [type [BaseRenderer ]]
68
- def __init__ (self , * args : Any , ** kwargs : Any ) -> None : ...
67
+
68
+ def __init__ (
69
+ self ,
70
+ trailing_slash : bool = True ,
71
+ use_regex_path : bool = True ,
72
+ * ,
73
+ root_renderers : list [type [BaseRenderer ]] = ...,
74
+ ) -> None : ...
69
75
def get_api_root_view (self , api_urls : Any | None = ...) -> Callable : ...
Original file line number Diff line number Diff line change @@ -65,9 +65,6 @@ rest_framework.request.Request.QUERY_PARAMS
65
65
rest_framework.routers.BaseRouter
66
66
rest_framework.routers.BaseRouter.register
67
67
rest_framework.routers.DefaultRouter
68
- rest_framework.routers.DefaultRouter.APIRootView
69
- rest_framework.routers.DefaultRouter.APISchemaView
70
- rest_framework.routers.DefaultRouter.SchemaGenerator
71
68
rest_framework.routers.RenameRouterMethods
72
69
rest_framework.routers.SimpleRouter
73
70
rest_framework.schemas.SchemaGenerator.__init__
You can’t perform that action at this time.
0 commit comments