mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
allow request.get params values to be None (#4611)
This commit is contained in:
2
third_party/2and3/requests/api.pyi
vendored
2
third_party/2and3/requests/api.pyi
vendored
@@ -5,7 +5,7 @@ from typing import Iterable, Mapping, Optional, Text, Tuple, Union
|
||||
from .models import Response
|
||||
from .sessions import _Data
|
||||
|
||||
_ParamsMappingValueType = Union[Text, bytes, int, float, Iterable[Union[Text, bytes, int, float]]]
|
||||
_ParamsMappingValueType = Union[Text, bytes, int, float, Iterable[Union[Text, bytes, int, float]], None]
|
||||
|
||||
def request(method: str, url: str, **kwargs) -> Response: ...
|
||||
def get(
|
||||
|
||||
Reference in New Issue
Block a user