projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396ab84
)
Support include_ext_edit_control parameter for API methods
author
Harmon
<Harmon758@gmail.com>
Tue, 4 Oct 2022 03:48:08 +0000
(22:48 -0500)
committer
Harmon
<Harmon758@gmail.com>
Tue, 4 Oct 2022 03:52:50 +0000
(22:52 -0500)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index f60577c114bae5977e2d9f90d14c8098191e6c46..12dc6838b1b9857da9fb37b762e369750dd35a41 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-163,7
+163,9
@@
class API:
for k, arg in kwargs.items():
if arg is None:
continue
- if k not in endpoint_parameters and k != "tweet_mode":
+ if k not in endpoint_parameters + (
+ "include_ext_edit_control", "tweet_mode"
+ ):
log.warning(f'Unexpected parameter: {k}')
params[k] = str(arg)
log.debug("PARAMS: %r", params)