Stop allowing positional arguments for API.mutes_ids
authorHarmon <Harmon758@gmail.com>
Sun, 14 Feb 2021 06:04:35 +0000 (00:04 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 14 Feb 2021 06:04:35 +0000 (00:04 -0600)
tweepy/api.py

index 50195022c06d1729d99042c0c26dd63580e26f7e..f2482540477e38d47ba76aa0364affe8c7f4f675 100644 (file)
@@ -792,11 +792,11 @@ class API:
 
     @pagination(mode='cursor')
     @payload('ids')
-    def mutes_ids(self, *args, **kwargs):
+    def mutes_ids(self, **kwargs):
         """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-ids
         """
         return self.request(
-            'GET', 'mutes/users/ids', *args, endpoint_parameters=(
+            'GET', 'mutes/users/ids', endpoint_parameters=(
                 'stringify_ids', 'cursor'
             ), **kwargs
         )