From 5d22a01a2f48feaed6817e0ab7c27a990735a3d8 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 12 Feb 2023 17:00:29 -0600 Subject: [PATCH] Add note in documentation about removal of Tweet source field --- docs/v2_models.rst | 5 +++++ tweepy/tweet.py | 5 +++++ 2 files changed, 10 insertions(+) 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`_. -- 2.25.1