From a5b197b0c83d138624e1ea2c1469ff04d7d43c50 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 19 Feb 2021 16:48:26 -0600 Subject: [PATCH] Change file API.update_with_media parameter to be keyword-only --- tweepy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/api.py b/tweepy/api.py index 94c6ec2..e43adbd 100644 --- 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: -- 2.25.1