Stop allowing positional arguments for API.followers_ids
authorHarmon <Harmon758@gmail.com>
Fri, 12 Feb 2021 23:35:51 +0000 (17:35 -0600)
committerHarmon <Harmon758@gmail.com>
Fri, 12 Feb 2021 23:35:51 +0000 (17:35 -0600)
tweepy/api.py

index 143048548aa2d4cc2174c27d533aa2d723bc724d..17099f77e730a7644664a789c39c0bdcb4b6d1d2 100644 (file)
@@ -642,11 +642,11 @@ class API:
 
     @pagination(mode='cursor')
     @payload('ids')
-    def followers_ids(self, *args, **kwargs):
+    def followers_ids(self, **kwargs):
         """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-ids
         """
         return self.request(
-            'GET', 'followers/ids', *args, endpoint_parameters=(
+            'GET', 'followers/ids', endpoint_parameters=(
                 'user_id', 'screen_name', 'cursor', 'count'
             ), **kwargs
         )