Skip to content

Commit

Permalink
Stop allowing positional arguments for API.mentions_timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 8, 2021
1 parent 0ef964f commit 3614ce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweepy/api.py
Expand Up @@ -284,11 +284,11 @@ def user_timeline(self, **kwargs):

@pagination(mode='id')
@payload('status', list=True)
def mentions_timeline(self, *args, **kwargs):
def mentions_timeline(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-mentions_timeline
"""
return self.request(
'GET', 'statuses/mentions_timeline', *args, endpoint_parameters=(
'GET', 'statuses/mentions_timeline', endpoint_parameters=(
'since_id', 'max_id', 'count'
), **kwargs
)
Expand Down

0 comments on commit 3614ce4

Please sign in to comment.