From: Harmon Date: Mon, 1 Nov 2021 18:46:55 +0000 (-0500) Subject: Fix Client.return_type type in documentation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=45c024577ece22b898874c868c4bb64f64bfa09e;p=tweepy.git Fix Client.return_type type in documentation --- 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