projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9a4d43
)
Stop allowing positional arguments besides filename for API.media_upload
author
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 16:55:19 +0000
(10:55 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 16:55:19 +0000
(10:55 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index dd82578bf29d433b24c4ffe6c1b950703ff3f369..9e1a1aee43ea423f2551caad0ce43177fe7ee4cd 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-333,7
+333,7
@@
class API:
), **kwargs
)
- def media_upload(self, filename, *
args
, file=None, chunked=False,
+ def media_upload(self, filename, *, file=None, chunked=False,
media_category=None, additional_owners=None, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/media/upload-media/api-reference/post-media-upload
"""