From: Harmon Date: Mon, 8 Feb 2021 08:42:20 +0000 (-0600) Subject: Stop allowing positional arguments for API.mentions_timeline X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3614ce42483711b1aea65c16a235b4ec4d0c8242;p=tweepy.git Stop allowing positional arguments for API.mentions_timeline --- diff --git a/tweepy/api.py b/tweepy/api.py index 36ba1e2..2deb905 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -284,11 +284,11 @@ class API: @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 )