From 562fdbd9df164be3752962b85d780dcef0738a99 Mon Sep 17 00:00:00 2001 From: Joseph Haaga Date: Mon, 5 Oct 2020 02:42:07 -0400 Subject: [PATCH] allow request.get params values to be None (#4611) --- third_party/2and3/requests/api.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/2and3/requests/api.pyi b/third_party/2and3/requests/api.pyi index 6fcda5768..6b54f2d78 100644 --- a/third_party/2and3/requests/api.pyi +++ b/third_party/2and3/requests/api.pyi @@ -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(