mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-27 14:21:13 +08:00
Improved pytz support for timezone function (#911)
This commit is contained in:
committed by
Guido van Rossum
parent
c760a4e949
commit
ca36070d51
14
third_party/2/requests/api.pyi
vendored
14
third_party/2/requests/api.pyi
vendored
@@ -4,18 +4,18 @@ from typing import Union, Optional, Iterable, Mapping, Tuple
|
||||
|
||||
from .models import Response
|
||||
|
||||
ParamsMappingValueType = Union[str, unicode, int, float, Iterable[Union[str, unicode, int, float]]]
|
||||
_ParamsMappingValueType = Union[str, unicode, int, float, Iterable[Union[str, unicode, int, float]]]
|
||||
|
||||
def request(method: str, url: str, **kwargs) -> Response: ...
|
||||
def get(url: Union[str, unicode],
|
||||
params: Optional[
|
||||
Union[Mapping[Union[str, unicode, int, float], ParamsMappingValueType],
|
||||
Union[Mapping[Union[str, unicode, int, float], _ParamsMappingValueType],
|
||||
Union[str, unicode],
|
||||
Tuple[Union[str, unicode, int, float], ParamsMappingValueType],
|
||||
Mapping[str, ParamsMappingValueType],
|
||||
Mapping[unicode, ParamsMappingValueType],
|
||||
Mapping[int, ParamsMappingValueType],
|
||||
Mapping[float, ParamsMappingValueType]]] = None,
|
||||
Tuple[Union[str, unicode, int, float], _ParamsMappingValueType],
|
||||
Mapping[str, _ParamsMappingValueType],
|
||||
Mapping[unicode, _ParamsMappingValueType],
|
||||
Mapping[int, _ParamsMappingValueType],
|
||||
Mapping[float, _ParamsMappingValueType]]] = None,
|
||||
**kwargs) -> Response: ...
|
||||
def options(url: Union[str, unicode], **kwargs) -> Response: ...
|
||||
def head(url: Union[str, unicode], **kwargs) -> Response: ...
|
||||
|
||||
Reference in New Issue
Block a user