merge with stubgen output

This commit is contained in:
Maxim Kurnikov
2018-07-29 23:25:20 +03:00
parent 496a6274e7
commit 4866354600
294 changed files with 10234 additions and 10842 deletions

View File

@@ -1,27 +1,24 @@
from django.contrib.auth.models import (
AnonymousUser,
User,
)
# Stubs for django.contrib.auth.context_processors (Python 3.6)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from django.contrib.auth.models import AnonymousUser, User
from django.http.request import HttpRequest
from typing import (
Dict,
Union,
)
def auth(
request: HttpRequest
) -> Dict[str, Union[PermWrapper, AnonymousUser, User]]: ...
from typing import Dict, Union
class PermLookupDict:
def __bool__(self) -> bool: ...
def __getitem__(self, perm_name: str) -> bool: ...
def __init__(self, user: object, app_label: str) -> None: ...
def __repr__(self): ...
def __getitem__(self, perm_name: str) -> bool: ...
def __iter__(self) -> None: ...
def __bool__(self) -> bool: ...
class PermWrapper:
def __contains__(self, perm_name: str) -> bool: ...
def __getitem__(self, app_label: str) -> PermLookupDict: ...
user: Any = ...
def __init__(self, user: object) -> None: ...
def __iter__(self): ...
def __getitem__(self, app_label: str) -> PermLookupDict: ...
def __iter__(self) -> None: ...
def __contains__(self, perm_name: str) -> bool: ...
def auth(request: HttpRequest) -> Dict[str, Union[PermWrapper, AnonymousUser, User]]: ...