From 0eff9515797dad95728f44b7c2b21fd88e5f6312 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 11 Feb 2021 21:51:24 -0600 Subject: [PATCH] Change API.lookup_friendships parameters to be keyword-only Change user_id and screen_name API.lookup_friendships parameters to be keyword-only --- tweepy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/api.py b/tweepy/api.py index b29947e..69bee23 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -585,7 +585,7 @@ class API: ) @payload('relationship', list=True) - def lookup_friendships(self, user_id=None, screen_name=None, **kwargs): + def lookup_friendships(self, *, user_id=None, screen_name=None, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-lookup """ return self.request( -- 2.25.1