From 9415a59f6f8bd7fd4426acd3eb4a29eca6f8575e Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 10 Feb 2021 13:14:49 -0600 Subject: [PATCH] Change API.lookup_users parameters to be keyword-only Change user_id and screen_name API.lookup_users 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 3e38e61..dec5249 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -465,7 +465,7 @@ class API: ) @payload('user', list=True) - def lookup_users(self, user_id=None, screen_name=None, *args, **kwargs): + def lookup_users(self, *args, user_id=None, screen_name=None, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup """ return self.request( -- 2.25.1