From a77039adfa4658d5308cc4fffde890ff7c0da7d0 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 25 Feb 2022 18:30:14 -0600 Subject: [PATCH] Add parameter to Client.search_recent_tweets signature in documentation Add new sort_order parameter to Client.search_recent_tweets signature in documentation --- tweepy/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/client.py b/tweepy/client.py index 4a79bcb..0a6c8c5 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -818,8 +818,8 @@ class Client(BaseClient): def search_recent_tweets(self, query, *, user_auth=False, **params): """search_recent_tweets( \ query, *, end_time, expansions, max_results, media_fields, \ - next_token, place_fields, poll_fields, since_id, start_time, \ - tweet_fields, until_id, user_fields, user_auth=False \ + next_token, place_fields, poll_fields, since_id, sort_order, \ + start_time, tweet_fields, until_id, user_fields, user_auth=False \ ) The recent search endpoint returns Tweets from the last seven days that -- 2.25.1