From: Harmon Date: Fri, 12 Feb 2021 04:17:37 +0000 (-0600) Subject: Stop allowing positional arguments for API.friendships_outgoing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=09f85045945331e9b0ace417be20df0fa1ec7a79;p=tweepy.git Stop allowing positional arguments for API.friendships_outgoing --- diff --git a/tweepy/api.py b/tweepy/api.py index 3c79524..dd389a5 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -631,11 +631,11 @@ class API: @pagination(mode='cursor') @payload('ids') - def friendships_outgoing(self, *args, **kwargs): + def friendships_outgoing(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-outgoing """ return self.request( - 'GET', 'friendships/outgoing', *args, endpoint_parameters=( + 'GET', 'friendships/outgoing', endpoint_parameters=( 'cursor', 'stringify_ids' ), **kwargs )