Change file, chunked, media_category, and additional_owners API.media_upload parameters to be keyword-only
), **kwargs
)
- def media_upload(self, filename, file=None, chunked=False,
- media_category=None, additional_owners=None, *args,
- **kwargs):
+ def media_upload(self, filename, *args, 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
"""
h = None