From 8861e1cb9282de0e6841d33feb58a43f089ccd75 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 19 Feb 2021 11:07:28 -0600 Subject: [PATCH] Change file API.update_profile_image 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 ecce01e..098b371 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -823,7 +823,7 @@ class API: ) @payload('user') - def update_profile_image(self, filename, file=None, *args, **kwargs): + def update_profile_image(self, filename, *args, 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: -- 2.25.1