projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8fcc4d
)
Ignore tweet_mode when warning about unexpected parameters
author
Harmon
<Harmon758@gmail.com>
Sun, 4 Apr 2021 14:54:45 +0000
(09:54 -0500)
committer
Harmon
<Harmon758@gmail.com>
Sun, 4 Apr 2021 14:54:45 +0000
(09:54 -0500)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index c4f816ac8a7f35928617f333c670f48737fc8636..5ea831f57d90fd77f647c4f09136a00045d122cb 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-123,7
+123,7
@@
class API:
for k, arg in kwargs.items():
if arg is None:
continue
- if k not in endpoint_parameters:
+ if k not in endpoint_parameters
and k != "tweet_mode"
:
log.warning(f'Unexpected parameter: {k}')
params[k] = str(arg)
log.debug("PARAMS: %r", params)