From: Harmon Date: Fri, 12 Feb 2021 03:51:24 +0000 (-0600) Subject: Change API.lookup_friendships parameters to be keyword-only X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0eff9515797dad95728f44b7c2b21fd88e5f6312;p=tweepy.git Change API.lookup_friendships parameters to be keyword-only Change user_id and screen_name API.lookup_friendships parameters to be keyword-only --- 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(