From 3dc5604f7aa0f5cef95109f72f62d2ceb277b127 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 19 Feb 2021 11:16:12 -0600 Subject: [PATCH] Change file API.update_profile_banner 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 c375f61..7eb16cd 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -836,7 +836,7 @@ class API: ), files=files, **kwargs ) - def update_profile_banner(self, filename, file=None, *args, **kwargs): + def update_profile_banner(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_banner """ if file is not None: -- 2.25.1