Stop allowing positional arguments for API.configuration
authorHarmon <Harmon758@gmail.com>
Fri, 19 Feb 2021 15:54:16 +0000 (09:54 -0600)
committerHarmon <Harmon758@gmail.com>
Fri, 19 Feb 2021 15:54:16 +0000 (09:54 -0600)
tweepy/api.py

index 7550168edd134c44c8c45345b9517307f19bb21d..20b3c7d08f04eac4a13c4b297bf215dd60509064 100644 (file)
@@ -1202,10 +1202,10 @@ class API:
         return self.request('GET', 'help/languages', **kwargs)
 
     @payload('json')
-    def configuration(self, *args, **kwargs):
+    def configuration(self, **kwargs):
         """ :reference: https://developer.twitter.com/en/docs/developer-utilities/configuration/api-reference/get-help-configuration
         """
-        return self.request('GET', 'help/configuration', *args, **kwargs)
+        return self.request('GET', 'help/configuration', **kwargs)
 
     """ Internal use only """