projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06527c
)
Change file API.update_with_media parameter to be keyword-only
author
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 22:48:26 +0000
(16:48 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 22:48:26 +0000
(16:48 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 94c6ec24ced2e057134102a7810a4e770c4f3e44..e43adbd36ae97d4b99e5d6e08945dc7dace76102 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-484,7
+484,7
@@
class API:
)
@payload('status')
- def update_with_media(self, filename, status,
file=None, *args
, **kwargs):
+ def update_with_media(self, filename, status,
*args, file=None
, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update_with_media
"""
if file is not None: