projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8861e1c
)
Stop allowing positional arguments for API.update_profile_image
author
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 17:08:02 +0000
(11:08 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 17:08:02 +0000
(11:08 -0600)
Stop allowing positional arguments besides filename for API.update_profile_image
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 098b3714dfc58b61598f51964192595140ab3692..c375f6150e89d2c566fd3286541eda8ec6157f7a 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-823,7
+823,7
@@
class API:
)
@payload('user')
- def update_profile_image(self, filename, *
args
, file=None, **kwargs):
+ def update_profile_image(self, filename, *, file=None, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile_image
"""
if file is not None: