From 09f85045945331e9b0ace417be20df0fa1ec7a79 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 11 Feb 2021 22:17:37 -0600 Subject: [PATCH] Stop allowing positional arguments for API.friendships_outgoing --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.25.1