mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-02-21 09:08:28 +08:00
23 lines
402 B
Python
23 lines
402 B
Python
from django.urls.resolvers import (
|
|
CheckURLMixin,
|
|
URLPattern,
|
|
URLResolver,
|
|
)
|
|
from typing import (
|
|
Any,
|
|
Optional,
|
|
Type,
|
|
Union,
|
|
)
|
|
|
|
|
|
def _path(
|
|
route: str,
|
|
view: Any,
|
|
kwargs: Any = ...,
|
|
name: Optional[str] = ...,
|
|
Pattern: Type[CheckURLMixin] = ...
|
|
) -> Union[URLPattern, URLResolver]: ...
|
|
|
|
|
|
def include(arg: Any, namespace: Optional[str] = ...) -> Any: ... |