mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
black reformat, some fixes
This commit is contained in:
@@ -33,7 +33,9 @@ class HttpRequest:
|
||||
def get_port(self) -> str: ...
|
||||
def get_full_path(self, force_append_slash: bool = ...) -> str: ...
|
||||
def get_full_path_info(self, force_append_slash: bool = ...) -> str: ...
|
||||
def get_signed_cookie(self, key: str, default: Any = ..., salt: str = ..., max_age: Optional[int] = ...) -> Optional[str]: ...
|
||||
def get_signed_cookie(
|
||||
self, key: str, default: Any = ..., salt: str = ..., max_age: Optional[int] = ...
|
||||
) -> Optional[str]: ...
|
||||
def get_raw_uri(self) -> str: ...
|
||||
def build_absolute_uri(self, location: Optional[str] = ...) -> str: ...
|
||||
@property
|
||||
|
||||
@@ -23,7 +23,11 @@ class HttpResponseBase:
|
||||
cookies: cookies.SimpleCookie = ...
|
||||
closed: bool = ...
|
||||
def __init__(
|
||||
self, content_type: Optional[str] = ..., status: Any = ..., reason: Optional[str] = ..., charset: Optional[str] = ...
|
||||
self,
|
||||
content_type: Optional[str] = ...,
|
||||
status: Any = ...,
|
||||
reason: Optional[str] = ...,
|
||||
charset: Optional[str] = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def reason_phrase(self): ...
|
||||
|
||||
Reference in New Issue
Block a user