initial commit

This commit is contained in:
Maxim Kurnikov
2018-07-29 18:12:23 +03:00
commit a9f215bf64
311 changed files with 13433 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
from django.apps.registry import Apps
from typing import (
Any,
Callable,
Optional,
)
class ModelSignal:
def _lazy_method(
self,
method: Callable,
apps: Optional[Apps],
receiver: Callable,
sender: Any,
**kwargs
) -> Optional[bool]: ...
def connect(
self,
receiver: Callable,
sender: Any = ...,
weak: bool = ...,
dispatch_uid: None = ...,
apps: None = ...
) -> None: ...
def disconnect(
self,
receiver: Callable = ...,
sender: Any = ...,
dispatch_uid: None = ...,
apps: None = ...
) -> bool: ...