From 45c024577ece22b898874c868c4bb64f64bfa09e Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 1 Nov 2021 13:46:55 -0500 Subject: [PATCH] Fix Client.return_type type in documentation --- tweepy/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/client.py b/tweepy/client.py index 9d969cf..ec8c4f3 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -52,7 +52,7 @@ class Client: Twitter API Access Token access_token_secret : Optional[str] Twitter API Access Token Secret - return_type : Type[dict, requests.Response, Response] + return_type : Type[Union[dict, requests.Response, Response]] Type to return from requests to the API wait_on_rate_limit : bool Whether to wait when rate limit is reached -- 2.25.1