From ff38b7026403eb9c952e1d1ac00a1a11c6b40f61 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 14 Feb 2021 00:18:06 -0600 Subject: [PATCH] Stop allowing positional arguments for API.blocks_ids --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.25.1