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