From 2967104c1e6f2398aaf52f19c9a7627dbcdd7651 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 14 Feb 2021 00:04:35 -0600 Subject: [PATCH] Stop allowing positional arguments for API.mutes_ids --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 5019502..f248254 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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 ) -- 2.25.1