From 29620e33840573a00e620e87e0fd59db6c33375b Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 20 Aug 2022 09:46:17 -0500 Subject: [PATCH] Ignore AsyncClient method parameters explicitly passed as None Resolves #1944 --- tweepy/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/client.py b/tweepy/client.py index 45ef842..5f25c1a 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -181,7 +181,7 @@ class BaseClient: "%Y-%m-%dT%H:%M:%SZ" ) # TODO: Constant datetime format string? - else: + elif param_value is not None: request_params[param_name] = param_value if param_name not in endpoint_parameters: -- 2.25.1