mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
lowercase list and dict for 3rd party stubs (#5893)
* stubs/decorator/decorator.pyi * stubs/frozendict/frozendict.pyi * stubs/Jinja2/jinja2/nodes.pyi * stubs/Pygments/pygments/token.pyi * stubs/requests/requests/models.pyi * stubs/Werkzeug/werkzeug/http.pyi
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import datetime
|
||||
from json import JSONDecoder
|
||||
from typing import Any, Callable, Dict, Iterator, List, Text, Type
|
||||
from typing import Any, Callable, Iterator, Text, Type
|
||||
|
||||
from . import auth, cookies, exceptions, hooks, status_codes, structures, utils
|
||||
from .cookies import RequestsCookieJar
|
||||
@@ -94,7 +94,7 @@ class Response:
|
||||
raw: Any
|
||||
url: str
|
||||
encoding: str
|
||||
history: List[Response]
|
||||
history: list[Response]
|
||||
reason: str
|
||||
cookies: RequestsCookieJar
|
||||
elapsed: datetime.timedelta
|
||||
@@ -135,6 +135,6 @@ class Response:
|
||||
**kwds: Any,
|
||||
) -> Any: ...
|
||||
@property
|
||||
def links(self) -> Dict[Any, Any]: ...
|
||||
def links(self) -> dict[Any, Any]: ...
|
||||
def raise_for_status(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user