From: Harmon Date: Fri, 25 Feb 2022 22:32:32 +0000 (-0600) Subject: Fix erroneous generic list types in documentation for Client methods X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=609b2d57d8b4e2e7182ae6b0e8aca2fcb0945017;p=tweepy.git Fix erroneous generic list types in documentation for Client methods --- diff --git a/tweepy/client.py b/tweepy/client.py index ba96c3b..ec849c5 100644 --- a/tweepy/client.py +++ b/tweepy/client.py @@ -504,7 +504,7 @@ class Client(BaseClient): Allows you to Tweet exclusively for `Super Followers`_. place_id : Optional[str] Place ID being attached to the Tweet for geo location. - media_ids : Optional[list[int, str]] + media_ids : Optional[list[int | str]] A list of Media IDs being attached to the Tweet. This is only required if the request includes the ``tagged_user_ids``. media_tagged_user_ids : Optional[list[int | str]] @@ -1314,7 +1314,7 @@ class Client(BaseClient): Parameters ---------- - ids : list[int, str] | str + ids : list[int | str] | str A comma separated list of Tweet IDs. Up to 100 are allowed in a single request. Make sure to not include a space between commas and fields. @@ -1830,7 +1830,7 @@ class Client(BaseClient): Parameters ---------- - ids : list[int, str] | str + ids : list[int | str] | str A comma separated list of user IDs. Up to 100 are allowed in a single request. Make sure to not include a space between commas and fields. @@ -1977,7 +1977,7 @@ class Client(BaseClient): ---------- ids : list[str] | str A comma separated list of Spaces (up to 100). - user_ids : list[int, str] | str + user_ids : list[int | str] | str A comma separated list of user IDs (up to 100). expansions : list[str] | str :ref:`expansions_parameter`