mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 00:37:11 +08:00
enable some test folders, bunch of fixes
This commit is contained in:
@@ -14,17 +14,10 @@ class Signal:
|
||||
sender_receivers_cache: Any = ...
|
||||
def __init__(self, providing_args: List[str] = ..., use_caching: bool = ...) -> None: ...
|
||||
def connect(
|
||||
self,
|
||||
receiver: Callable,
|
||||
sender: Optional[Union[Type[Model], AppConfig, str]] = ...,
|
||||
weak: bool = ...,
|
||||
dispatch_uid: Optional[str] = ...,
|
||||
self, receiver: Callable, sender: Optional[object] = ..., weak: bool = ..., dispatch_uid: Optional[str] = ...
|
||||
) -> None: ...
|
||||
def disconnect(
|
||||
self,
|
||||
receiver: Optional[Callable] = ...,
|
||||
sender: Optional[Union[Type[Model], AppConfig, str]] = ...,
|
||||
dispatch_uid: Optional[str] = ...,
|
||||
self, receiver: Optional[Callable] = ..., sender: Optional[object] = ..., dispatch_uid: Optional[str] = ...
|
||||
) -> bool: ...
|
||||
def has_listeners(self, sender: Any = ...) -> bool: ...
|
||||
def send(self, sender: Any, **named: Any) -> List[Tuple[Callable, Optional[str]]]: ...
|
||||
|
||||
Reference in New Issue
Block a user