mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-23 04:11:29 +08:00
merge with stubgen output
This commit is contained in:
@@ -1,24 +1,17 @@
|
||||
# Stubs for django.contrib.messages.storage.fallback (Python 3.6)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
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:
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def _get(
|
||||
self,
|
||||
*args,
|
||||
**kwargs
|
||||
) -> Union[Tuple[List[Any], bool], Tuple[List[str], bool], Tuple[List[Message], bool]]: ...
|
||||
def _store(
|
||||
self,
|
||||
messages: List[Message],
|
||||
response: HttpResponse,
|
||||
*args,
|
||||
**kwargs
|
||||
) -> List[Any]: ...
|
||||
from typing import Any, List, Tuple, Union
|
||||
class FallbackStorage(BaseStorage):
|
||||
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]: ...
|
||||
|
||||
Reference in New Issue
Block a user