projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b2bed8
)
Stop allowing positional arguments for API.trends_available
author
Harmon
<Harmon758@gmail.com>
Mon, 15 Feb 2021 08:08:22 +0000
(
02:08
-0600)
committer
Harmon
<Harmon758@gmail.com>
Mon, 15 Feb 2021 08:08:22 +0000
(
02:08
-0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 86433658d47527d7bf656a1b8ca112a78726e5ad..9501227116e55c33825e3c059dfc220b4cb656e3 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-1109,10
+1109,10
@@
class API:
)
@payload('json')
- def trends_available(self, *
args, *
*kwargs):
+ def trends_available(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/trends/locations-with-trending-topics/api-reference/get-trends-available
"""
- return self.request('GET', 'trends/available', *
args, *
*kwargs)
+ return self.request('GET', 'trends/available', **kwargs)
@payload('json')
def trends_place(self, *args, **kwargs):