From 17e02b78b9b4c5e6bf2d94e658e9d9790cd4c9a9 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 9 Oct 2022 15:01:03 -0500 Subject: [PATCH] Update signature for get_quote_tweets in documentation Add exclude parameter --- tweepy/asynchronous/client.py | 7 ++++--- tweepy/client.py | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/tweepy/asynchronous/client.py b/tweepy/asynchronous/client.py index a7ce77bfe..871a01e4b 100644 --- a/tweepy/asynchronous/client.py +++ b/tweepy/asynchronous/client.py @@ -763,9 +763,10 @@ async def create_tweet( async def get_quote_tweets(self, id, *, user_auth=False, **params): """get_quote_tweets( \ - 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 \ + id, *, exclude=None, 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 \ ) Returns Quote Tweets for a Tweet specified by the requested Tweet ID. diff --git a/tweepy/client.py b/tweepy/client.py index cba77b765..ed79dfe1e 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -829,9 +829,10 @@ def create_tweet( def get_quote_tweets(self, id, *, user_auth=False, **params): """get_quote_tweets( \ - 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 \ + id, *, exclude=None, 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 \ ) Returns Quote Tweets for a Tweet specified by the requested Tweet ID.