From 801f15de892771a5d1d683facb409c54459676b9 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 18 Feb 2021 22:29:09 -0600 Subject: [PATCH] Require query parameter for API.search_full_archive --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index fe4c911..19db1de 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -1159,11 +1159,11 @@ class API: @pagination(mode='next') @payload('status', list=True) - def search_full_archive(self, label, *args, **kwargs): + def search_full_archive(self, label, query, *args, **kwargs): """ :reference: https://developer.twitter.com/en/docs/tweets/search/api-reference/premium-search """ return self.request( - 'GET', f'tweets/search/fullarchive/{label}', *args, + 'GET', f'tweets/search/fullarchive/{label}', query, *args, endpoint_parameters=( 'query', 'tag', 'fromDate', 'toDate', 'maxResults', 'next' ), **kwargs -- 2.25.1