From 9907c25c8873876ff56fd2575aaa6e1994715313 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 9 Feb 2021 22:18:05 -0600 Subject: [PATCH] Stop allowing positional arguments besides id for API.retweeters --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 8279c20..5174068 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -433,11 +433,11 @@ class API: @pagination(mode='cursor') @payload('ids') - def retweeters(self, id, *args, **kwargs): + def retweeters(self, id, **kwargs): """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweeters-ids """ return self.request( - 'GET', 'statuses/retweeters/ids', id, *args, endpoint_parameters=( + 'GET', 'statuses/retweeters/ids', id, endpoint_parameters=( 'id', 'count', 'cursor', 'stringify_ids' ), **kwargs ) -- 2.25.1