From: Harmon Date: Fri, 12 Feb 2021 04:03:03 +0000 (-0600) Subject: Stop allowing positional arguments for API.friends_ids X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c65641b48df0320bad6046798d789e38b3cd8ec8;p=tweepy.git Stop allowing positional arguments for API.friends_ids --- 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 )