From 8cabd9a1cde4497e4134d98e48f1063849069a72 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 19 Feb 2021 09:54:16 -0600 Subject: [PATCH] Stop allowing positional arguments for API.configuration --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 7550168..20b3c7d 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -1202,10 +1202,10 @@ class API: return self.request('GET', 'help/languages', **kwargs) @payload('json') - def configuration(self, *args, **kwargs): + def configuration(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/developer-utilities/configuration/api-reference/get-help-configuration """ - return self.request('GET', 'help/configuration', *args, **kwargs) + return self.request('GET', 'help/configuration', **kwargs) """ Internal use only """ -- 2.25.1