projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
485691d
)
Stop allowing positional arguments for API.get_user
author
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 04:46:40 +0000
(22:46 -0600)
committer
Harmon
<Harmon758@gmail.com>
Wed, 10 Feb 2021 04:46:40 +0000
(22:46 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index e708b231bc51faaf6c214528bdf370a83504b3fa..c6ead3ea15616476cc5029f26e852615d9fd2763 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-443,11
+443,11
@@
class API:
)
@payload('user')
- def get_user(self, *
args, *
*kwargs):
+ def get_user(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-show
"""
return self.request(
- 'GET', 'users/show',
*args,
endpoint_parameters=(
+ 'GET', 'users/show', endpoint_parameters=(
'user_id', 'screen_name', 'include_entities'
), **kwargs
)