From 3614ce42483711b1aea65c16a235b4ec4d0c8242 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 8 Feb 2021 02:42:20 -0600 Subject: [PATCH] Stop allowing positional arguments for API.mentions_timeline --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.25.1