mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-18 01:45:59 +08:00
fixes for ci imports failures
This commit is contained in:
@@ -10,7 +10,6 @@ class Message:
|
||||
message: str = ...
|
||||
extra_tags: str = ...
|
||||
def __init__(self, level: int, message: str, extra_tags: Optional[str] = ...) -> None: ...
|
||||
def __eq__(self, other: Union[Message, str]) -> bool: ...
|
||||
@property
|
||||
def tags(self) -> str: ...
|
||||
@property
|
||||
|
||||
@@ -42,7 +42,7 @@ class MessageDecoder(json.JSONDecoder):
|
||||
|
||||
class CookieStorage(BaseStorage):
|
||||
added_new: bool
|
||||
request: django.core.handlers.wsgi.WSGIRequest
|
||||
request: WSGIRequest
|
||||
used: bool
|
||||
cookie_name: str = ...
|
||||
max_cookie_size: int = ...
|
||||
|
||||
@@ -4,7 +4,7 @@ from django.contrib.messages.storage.base import BaseStorage
|
||||
|
||||
class FallbackStorage(BaseStorage):
|
||||
added_new: bool
|
||||
request: django.core.handlers.wsgi.WSGIRequest
|
||||
request: WSGIRequest
|
||||
used: bool
|
||||
storage_classes: Any = ...
|
||||
storages: Any = ...
|
||||
|
||||
@@ -5,7 +5,7 @@ from django.http.request import HttpRequest
|
||||
|
||||
class SessionStorage(BaseStorage):
|
||||
added_new: bool
|
||||
request: django.core.handlers.wsgi.WSGIRequest
|
||||
request: WSGIRequest
|
||||
used: bool
|
||||
session_key: str = ...
|
||||
def __init__(self, request: HttpRequest, *args: Any, **kwargs: Any) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user