From: Harmon Date: Mon, 8 Feb 2021 08:45:23 +0000 (-0600) Subject: Stop allowing positional arguments for API.retweets_of_me X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2b2ed0a45bfe2077dd1e0b3c0e91de2557aa4a36;p=tweepy.git Stop allowing positional arguments for API.retweets_of_me --- diff --git a/tweepy/api.py b/tweepy/api.py index fdd6f55..2a3b993 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -295,11 +295,11 @@ class API: @pagination(mode='id') @payload('status', list=True) - def retweets_of_me(self, *args, **kwargs): + def retweets_of_me(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweets_of_me """ return self.request( - 'GET', 'statuses/retweets_of_me', *args, endpoint_parameters=( + 'GET', 'statuses/retweets_of_me', endpoint_parameters=( 'since_id', 'max_id', 'count' ), **kwargs )