diff --git a/test_twarc.py b/test_twarc.py index 0339cd89..5cff4a24 100644 --- a/test_twarc.py +++ b/test_twarc.py @@ -625,7 +625,7 @@ def test_hydrate(): for tweet in T.hydrate(iter(ids)): assert tweet["id_str"] count += 1 - assert count > 90 # may need to adjust as these might get deleted + assert count > 80 # may need to adjust as these might get deleted @patch("twarc.client.OAuth1Session", autospec=True) diff --git a/twarc/expansions.py b/twarc/expansions.py index b628cd20..62f25634 100644 --- a/twarc/expansions.py +++ b/twarc/expansions.py @@ -22,8 +22,10 @@ "attachments.poll_ids", "attachments.media_keys", "geo.place_id", + "edit_history_tweet_ids", ] + USER_FIELDS = [ "created_at", "description", @@ -62,6 +64,7 @@ "reply_settings", "source", "withheld", + "edit_controls", ] MEDIA_FIELDS = [ diff --git a/twarc/version.py b/twarc/version.py index d9ecc585..a4500f77 100644 --- a/twarc/version.py +++ b/twarc/version.py @@ -1,5 +1,5 @@ import platform -version = "2.11.3" +version = "2.12.0" user_agent = f"twarc/{version} ({platform.system()} {platform.machine()}) {platform.python_implementation()}/{platform.python_version()}"