Add note in documentation about removal of Tweet source field
authorHarmon <Harmon758@gmail.com>
Sun, 12 Feb 2023 23:00:29 +0000 (17:00 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 12 Feb 2023 23:03:57 +0000 (17:03 -0600)
docs/v2_models.rst
tweepy/tweet.py

index f0da251b413214dce8af662ce9c0ac35b9e5029b..73454f5a511faa9c7904e45c84ffdb7ba0e23ba3 100644 (file)
@@ -47,3 +47,8 @@ Models
 =============
 
 .. autoclass:: User()
+
+
+.. rubric:: Footnotes
+
+.. [#] https://developer.twitter.com/en/updates/changelog
index 96b872cf8be2befbe0f62df9c57d37cdf03e1c36..3f04e30f6a9bf7f8c759ddd69ff5c0d04df75d23 100644 (file)
@@ -102,6 +102,11 @@ class Tweet(HashableID, DataMapping):
         "everyone", "mentioned_users", and "followers".
     source : str | None
         The name of the app the user Tweeted from.
+
+        .. note::
+
+            As of December 20, 2022, this field has been removed from the Tweet
+            payload. [#]_
     withheld : dict | None
         When present, contains withholding details for `withheld content`_.