Skip to content

Commit

Permalink
Ignore AsyncClient method parameters explicitly passed as None
Browse files Browse the repository at this point in the history
Resolves #1944
  • Loading branch information
Harmon758 committed Aug 20, 2022
1 parent 08d5684 commit 29620e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tweepy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def _process_params(self, params, endpoint_parameters):
"%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:
Expand Down

0 comments on commit 29620e3

Please sign in to comment.