projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f97cf
)
Add trim_user endpoint parameter for API.unretweet
author
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 04:10:45 +0000
(22:10 -0600)
committer
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 04:10:45 +0000
(22:10 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index af29c458dd003cf25df82ae0616b586b3ed5b6c6..f1e86c90c16fff1656fe0b565c2adcc7552a05b2 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-416,7
+416,9
@@
class API:
""" :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-unretweet-id
"""
return self.request(
- 'POST', f'statuses/unretweet/{id}', *args, **kwargs
+ 'POST', f'statuses/unretweet/{id}', *args, endpoint_parameters=(
+ 'trim_user',
+ ), **kwargs
)
@payload('status', list=True)