allow request.get params values to be None (#4611)

This commit is contained in:
Joseph Haaga
2020-10-05 02:42:07 -04:00
committed by GitHub
parent e428f2d479
commit 562fdbd9df

View File

@@ -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(