From: Harmon Date: Sat, 13 Feb 2021 06:19:35 +0000 (-0600) Subject: Stop allowing positional arguments for API.rate_limit_status X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b4b91c116921045eb18790330771460c28f9662a;p=tweepy.git Stop allowing positional arguments for API.rate_limit_status --- diff --git a/tweepy/api.py b/tweepy/api.py index 2505654..bc44704 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -695,12 +695,11 @@ class API: ) @payload('json') - def rate_limit_status(self, *args, **kwargs): + def rate_limit_status(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/developer-utilities/rate-limit-status/api-reference/get-application-rate_limit_status """ return self.request( - 'GET', 'application/rate_limit_status', *args, - endpoint_parameters=( + 'GET', 'application/rate_limit_status', endpoint_parameters=( 'resources', ), use_cache=False, **kwargs )