From: Harmon Date: Sun, 14 Feb 2021 06:20:39 +0000 (-0600) Subject: Stop allowing positional arguments for API.saved_searches X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c5f5b4b552fbdff75cd4d46585cefa97a82abee7;p=tweepy.git Stop allowing positional arguments for API.saved_searches --- 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):