move generated stubs to separate directory, too messty

This commit is contained in:
Maxim Kurnikov
2018-11-10 17:49:18 +03:00
parent 7436d641e3
commit 96cd3ddb27
446 changed files with 58 additions and 71 deletions

View File

@@ -0,0 +1,18 @@
from typing import Any, Callable, List, Optional, Set, Union
def user_passes_test(
test_func: Callable,
login_url: Optional[str] = ...,
redirect_field_name: str = ...,
) -> Callable: ...
def login_required(
function: Optional[Callable] = ...,
redirect_field_name: str = ...,
login_url: Optional[str] = ...,
) -> Callable: ...
def permission_required(
perm: Union[List[str], Set[str], str],
login_url: None = ...,
raise_exception: bool = ...,
) -> Callable: ...