Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urls.resolvers.URLResolver.url_module type needs an update #248

Open
psam44 opened this issue Jun 8, 2024 · 0 comments
Open

urls.resolvers.URLResolver.url_module type needs an update #248

psam44 opened this issue Jun 8, 2024 · 0 comments

Comments

@psam44
Copy link

psam44 commented Jun 8, 2024

Incorrect :
https://github.com/sbdchd/django-types/blob/main/django-stubs/urls/resolvers.pyi
urlconf_module: list[tuple[str, Callable[..., Any]]] | None

The correct one:
https://github.com/typeddjango/django-stubs/blob/master/django-stubs/urls/resolvers.pyi
@cached_property
def urlconf_module(self) -> ModuleType | None | Sequence[_AnyURL]: ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant