mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-19 10:21:14 +08:00
fix(ResolverMatch): Added _func_path (#631)
* fix(ResolverMatch): Added _func_path ResolverMatch class in Django contains _func_path variable and it will get initialized in init method whatever the condition, so it should be added in type stubs as well. https://github.com/django/django/blob/main/django/urls/resolvers.py#L48 * Update resolvers.pyi Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
committed by
GitHub
parent
9a95b98398
commit
becb0c9605
@@ -14,6 +14,7 @@ class ResolverMatch:
|
||||
namespace: str = ...
|
||||
view_name: str = ...
|
||||
route: str = ...
|
||||
_func_path: str
|
||||
def __init__(
|
||||
self,
|
||||
func: Callable,
|
||||
|
||||
Reference in New Issue
Block a user