better stubs

This commit is contained in:
Maxim Kurnikov
2018-08-05 03:13:19 +03:00
parent 4013fe4d03
commit fa718b8e55
380 changed files with 11805 additions and 8503 deletions

View File

@@ -1,24 +1,12 @@
# Stubs for django.contrib.messages.storage.fallback (Python 3.6)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
from django.contrib.messages.storage.base import BaseStorage
from typing import Any
from django.contrib.messages.storage.base import Message
from django.http.response import HttpResponse
from typing import Any, List, Tuple, Union
class FallbackStorage(BaseStorage):
added_new: bool
request: django.core.handlers.wsgi.WSGIRequest
used: bool
storage_classes: Any = ...
storages: Any = ...
_used_storages: Any = ...
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
def _get(
self, *args: Any, **kwargs: Any
) -> Union[
Tuple[List[Any], bool], Tuple[List[str], bool], Tuple[List[Message], bool]
]: ...
def _store(
self, messages: List[Message], response: HttpResponse, *args: Any, **kwargs: Any
) -> List[Any]: ...