projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f7be88
)
Rename status_id API.unretweet parameter to id
author
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 04:09:26 +0000
(22:09 -0600)
committer
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 04:09:26 +0000
(22:09 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 4e3382c4c637f2de22e29e42dd86b64ba9b50182..af29c458dd003cf25df82ae0616b586b3ed5b6c6 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-412,11
+412,11
@@
class API:
)
@payload('status')
- def unretweet(self,
status_
id, *args, **kwargs):
+ def unretweet(self, id, *args, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-unretweet-id
"""
return self.request(
- 'POST', f'statuses/unretweet/{
status_
id}', *args, **kwargs
+ 'POST', f'statuses/unretweet/{id}', *args, **kwargs
)
@payload('status', list=True)