From 9e9d370c440b0c5dd26131382a96306b681385a9 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 14 Feb 2021 00:06:00 -0600 Subject: [PATCH] Stop allowing positional arguments for API.mutes --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index f248254..58393f4 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -803,11 +803,11 @@ class API: @pagination(mode='cursor') @payload('user', list=True) - def mutes(self, *args, **kwargs): + def mutes(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-list """ return self.request( - 'GET', 'mutes/users/list', *args, endpoint_parameters=( + 'GET', 'mutes/users/list', endpoint_parameters=( 'cursor', 'include_entities', 'skip_status' ), **kwargs ) -- 2.25.1