Files
django-stubs/django/contrib/messages/storage/fallback.pyi
Maxim Kurnikov a9f215bf64 initial commit
2018-07-29 18:12:23 +03:00

24 lines
551 B
Python

from django.contrib.messages.storage.base import Message
from django.http.response import HttpResponse
from typing import (
Any,
List,
Tuple,
Union,
)
class FallbackStorage:
def __init__(self, *args, **kwargs) -> None: ...
def _get(
self,
*args,
**kwargs
) -> Union[Tuple[List[str], bool], Tuple[List[Any], bool], Tuple[List[Message], bool]]: ...
def _store(
self,
messages: List[Message],
response: HttpResponse,
*args,
**kwargs
) -> List[Any]: ...