Add parameter to Client.search_recent_tweets signature in documentation
authorHarmon <Harmon758@gmail.com>
Sat, 26 Feb 2022 00:30:14 +0000 (18:30 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 26 Feb 2022 00:30:14 +0000 (18:30 -0600)
Add new sort_order parameter to Client.search_recent_tweets signature in documentation

tweepy/client.py

index 4a79bcba151aa846253d68e1dd25ed99327950d1..0a6c8c579757505baeeff763ed19fcb8c516500d 100644 (file)
@@ -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