From 86577b1b0cbc0d8f89cf1ff33112741d48071cbb Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 8 Oct 2022 14:19:16 -0500 Subject: [PATCH] Update signature for get_list_tweets in documentation Add media_fields, place_fields, and poll_fields parameters --- tweepy/asynchronous/client.py | 3 ++- tweepy/client.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tweepy/asynchronous/client.py b/tweepy/asynchronous/client.py index 27705a8..e339679 100644 --- a/tweepy/asynchronous/client.py +++ b/tweepy/asynchronous/client.py @@ -2556,7 +2556,8 @@ class AsyncClient(AsyncBaseClient): async def get_list_tweets(self, id, *, user_auth=False, **params): """get_list_tweets( \ - id, *, expansions=None, max_results=None, pagination_token=None, \ + id, *, expansions=None, max_results=None, media_fields=None, \ + pagination_token=None, place_fields=None, poll_fields=None, \ tweet_fields=None, user_fields=None, user_auth=False \ ) diff --git a/tweepy/client.py b/tweepy/client.py index aa3d34e..b36be61 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -2760,7 +2760,8 @@ class Client(BaseClient): def get_list_tweets(self, id, *, user_auth=False, **params): """get_list_tweets( \ - id, *, expansions=None, max_results=None, pagination_token=None, \ + id, *, expansions=None, max_results=None, media_fields=None, \ + pagination_token=None, place_fields=None, poll_fields=None, \ tweet_fields=None, user_fields=None, user_auth=False \ ) -- 2.25.1