From: Harmon Date: Sun, 12 Feb 2023 23:00:29 +0000 (-0600) Subject: Add note in documentation about removal of Tweet source field X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5d22a01a2f48feaed6817e0ab7c27a990735a3d8;p=tweepy.git Add note in documentation about removal of Tweet source field --- diff --git a/docs/v2_models.rst b/docs/v2_models.rst index f0da251..73454f5 100644 --- a/docs/v2_models.rst +++ b/docs/v2_models.rst @@ -47,3 +47,8 @@ Models ============= .. autoclass:: User() + + +.. rubric:: Footnotes + +.. [#] https://developer.twitter.com/en/updates/changelog diff --git a/tweepy/tweet.py b/tweepy/tweet.py index 96b872c..3f04e30 100644 --- a/tweepy/tweet.py +++ b/tweepy/tweet.py @@ -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`_.