From c6ab5a0882651802a8a2fcf8c9f8300321415455 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 12 Feb 2021 17:47:48 -0600 Subject: [PATCH] Stop allowing positional arguments for API.followers --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 5a22c75..a060aab 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -653,11 +653,11 @@ class API: @pagination(mode='cursor') @payload('user', list=True) - def followers(self, *args, **kwargs): + def followers(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-list """ return self.request( - 'GET', 'followers/list', *args, endpoint_parameters=( + 'GET', 'followers/list', endpoint_parameters=( 'user_id', 'screen_name', 'cursor', 'count', 'skip_status', 'include_user_entities' ), **kwargs -- 2.25.1