Skip to content

Commit

Permalink
Stop allowing positional arguments for API.trends_available
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 15, 2021
1 parent 5b2bed8 commit 7a74863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweepy/api.py
Expand Up @@ -1109,10 +1109,10 @@ def show_list_subscriber(self, **kwargs):
)

@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):
Expand Down

0 comments on commit 7a74863

Please sign in to comment.