projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25cb01e
)
Stop allowing positional arguments for API.destroy_list
author
Harmon
<Harmon758@gmail.com>
Sun, 14 Feb 2021 06:34:37 +0000
(
00:34
-0600)
committer
Harmon
<Harmon758@gmail.com>
Sun, 14 Feb 2021 06:34:37 +0000
(
00:34
-0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 4edf6f1ee9a18977ab98ad86245f5267419b2bcd..ae1e5fb22788cd661df4c9b61b2dabca7c54e4b6 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-903,11
+903,11
@@
class API:
)
@payload('list')
- def destroy_list(self, *
args, *
*kwargs):
+ def destroy_list(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy
"""
return self.request(
- 'POST', 'lists/destroy',
*args,
endpoint_parameters=(
+ 'POST', 'lists/destroy', endpoint_parameters=(
'owner_screen_name', 'owner_id', 'list_id', 'slug'
), **kwargs
)