From c65641b48df0320bad6046798d789e38b3cd8ec8 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 11 Feb 2021 22:03:03 -0600 Subject: [PATCH] Stop allowing positional arguments for API.friends_ids --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 09d4c12..5043fb1 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -597,11 +597,11 @@ class API: @pagination(mode='cursor') @payload('ids') - def friends_ids(self, *args, **kwargs): + def friends_ids(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids """ return self.request( - 'GET', 'friends/ids', *args, endpoint_parameters=( + 'GET', 'friends/ids', endpoint_parameters=( 'user_id', 'screen_name', 'cursor', 'stringify_ids', 'count' ), **kwargs ) -- 2.25.1