From: Harmon Date: Sun, 14 Feb 2021 06:18:06 +0000 (-0600) Subject: Stop allowing positional arguments for API.blocks_ids X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ff38b7026403eb9c952e1d1ac00a1a11c6b40f61;p=tweepy.git Stop allowing positional arguments for API.blocks_ids --- diff --git a/tweepy/api.py b/tweepy/api.py index 1e99825..bd8223c 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -845,11 +845,11 @@ class API: @pagination(mode='cursor') @payload('ids') - def blocks_ids(self, *args, **kwargs): + def blocks_ids(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-ids """ return self.request( - 'GET', 'blocks/ids', *args, endpoint_parameters=( + 'GET', 'blocks/ids', endpoint_parameters=( 'stringify_ids', 'cursor', ), **kwargs )