mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-14 00:48:55 +08:00
requests.post data arg accepts an iterable of tuples (#1660)
This commit is contained in:
1 parent
d333474ed9
commit
feac49ac7f
1 file changed
+1
-1
Vendored
+1
-1
@@ -5,7 +5,7 @@ from typing import Optional, Union, Any, Iterable, Mapping, MutableMapping, Tupl
|
||||
from .models import Response
|
||||
|
||||
_ParamsMappingValueType = Union[Text, bytes, int, float, Iterable[Union[Text, bytes, int, float]]]
|
||||
_Data = Union[None, bytes, MutableMapping[Text, Text], IO]
|
||||
_Data = Union[None, bytes, MutableMapping[Text, Text], Iterable[Tuple[Text, Text]], IO]
|
||||
|
||||
def request(method: str, url: str, **kwargs) -> Response: ...
|
||||
def get(url: Union[Text, bytes],
|
||||
|
||||
Reference in new issue
Block a user