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