From c5f5b4b552fbdff75cd4d46585cefa97a82abee7 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 14 Feb 2021 00:20:39 -0600 Subject: [PATCH] Stop allowing positional arguments for API.saved_searches --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index b8203fc..4dc0640 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -865,10 +865,10 @@ class API: ) @payload('saved_search', list=True) - def saved_searches(self, *args, **kwargs): + def saved_searches(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-list """ - return self.request('GET', 'saved_searches/list', *args, **kwargs) + return self.request('GET', 'saved_searches/list', **kwargs) @payload('saved_search') def get_saved_search(self, saved_search_id, *args, **kwargs): -- 2.25.1