projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a2e7c
)
Change API.lookup_users parameters to be keyword-only
author
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 19:14:49 +0000
(13:14 -0600)
committer
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 19:14:49 +0000
(13:14 -0600)
Change user_id and screen_name API.lookup_users parameters to be keyword-only
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 3e38e61d9dc4addaf9547180219b19524f5559fd..dec52490c6d5bf2f09a93fc018dc0749e925cdb3 100644
(file)
--- 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(