From: Harmon Date: Sun, 14 Feb 2021 06:06:00 +0000 (-0600) Subject: Stop allowing positional arguments for API.mutes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9e9d370c440b0c5dd26131382a96306b681385a9;p=tweepy.git Stop allowing positional arguments for API.mutes --- 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 )