@ivanleomk
Sped up import time by 700% after learning about getattr in python :) https://t.co/9sj4WNtaxa
Viewing enriched Twitter post
Sped up import time by 700% after learning about getattr in python :) https://t.co/9sj4WNtaxa
{
"media": [
{
"type": "image",
"url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/1938542933466321363/media_0.jpg?",
"filename": "media_0.jpg"
}
],
"nlp": {
"sentiment": "positive",
"topics": [
"import time",
"python",
"getattr"
],
"entities": [],
"summary": "The user significantly improved their import time in Python after discovering the getattr function.",
"language": "en",
"processed_at": "2025-08-07T10:20:13.693779"
}
} {
"data": {
"threaded_conversation_with_injections_v2": {
"instructions": [
{
"type": "TimelineClearCache"
},
{
"type": "TimelineAddEntries",
"entries": [
{
"entryId": "tweet-1938542933466321363",
"sortIndex": "1953491369783721984",
"content": {
"entryType": "TimelineTimelineItem",
"__typename": "TimelineTimelineItem",
"itemContent": {
"itemType": "TimelineTweet",
"__typename": "TimelineTweet",
"tweet_results": {
"result": {
"__typename": "Tweet",
"rest_id": "1938542933466321363",
"has_birdwatch_notes": false,
"core": {
"user_results": {
"result": {
"__typename": "User",
"id": "VXNlcjoyNjcxNjA3OTk=",
"rest_id": "267160799",
"affiliates_highlighted_label": {},
"has_graduated_access": true,
"is_blue_verified": true,
"profile_image_shape": "Circle",
"legacy": {
"can_dm": true,
"can_media_tag": false,
"created_at": "Wed Mar 16 12:43:36 +0000 2011",
"default_profile": false,
"default_profile_image": false,
"description": "i work on agents at manus and write at https://t.co/02byZNKMa8.",
"entities": {
"description": {
"urls": [
{
"display_url": "ivanleo.com",
"expanded_url": "http://ivanleo.com",
"url": "https://t.co/02byZNKMa8",
"indices": [
39,
62
]
}
]
},
"url": {
"urls": [
{
"display_url": "ivanleo.com",
"expanded_url": "http://ivanleo.com",
"url": "https://t.co/02byZNKMa8",
"indices": [
0,
23
]
}
]
}
},
"fast_followers_count": 0,
"favourites_count": 4116,
"followers_count": 4059,
"friends_count": 1268,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 78,
"location": "Singapore",
"media_count": 1033,
"name": "Ivan Leo",
"normal_followers_count": 4059,
"pinned_tweet_ids_str": [
"1875777259346509940"
],
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/267160799/1716692627",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1838778744468836353/utYfioiO_normal.jpg",
"profile_interstitial_type": "",
"screen_name": "ivanleomk",
"statuses_count": 5930,
"translator_type": "none",
"url": "https://t.co/02byZNKMa8",
"verified": false,
"want_retweets": false,
"withheld_in_countries": []
},
"professional": {
"rest_id": "1524186444708794368",
"professional_type": "Creator",
"category": [
{
"id": 713,
"name": "Science & Technology",
"icon_name": ""
}
]
},
"tipjar_settings": {}
}
}
},
"unmention_data": {},
"edit_control": {
"edit_tweet_ids": [
"1938542933466321363"
],
"editable_until_msecs": "1751023226000",
"is_edit_eligible": true,
"edits_remaining": "5"
},
"is_translatable": false,
"views": {
"count": "482",
"state": "EnabledWithCount"
},
"source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
"legacy": {
"bookmark_count": 3,
"bookmarked": false,
"created_at": "Fri Jun 27 10:20:26 +0000 2025",
"conversation_id_str": "1938542933466321363",
"display_text_range": [
0,
69
],
"entities": {
"hashtags": [],
"media": [
{
"display_url": "pic.x.com/9sj4WNtaxa",
"expanded_url": "https://x.com/ivanleomk/status/1938542933466321363/photo/1",
"id_str": "1938542833776181248",
"indices": [
70,
93
],
"media_key": "3_1938542833776181248",
"media_url_https": "https://pbs.twimg.com/media/GucWb70bwAAER2s.png",
"type": "photo",
"url": "https://t.co/9sj4WNtaxa",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 714,
"w": 744,
"resize": "fit"
},
"medium": {
"h": 714,
"w": 744,
"resize": "fit"
},
"small": {
"h": 653,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 714,
"width": 744,
"focus_rects": [
{
"x": 0,
"y": 257,
"w": 744,
"h": 417
},
{
"x": 0,
"y": 0,
"w": 714,
"h": 714
},
{
"x": 0,
"y": 0,
"w": 626,
"h": 714
},
{
"x": 0,
"y": 0,
"w": 357,
"h": 714
},
{
"x": 0,
"y": 0,
"w": 744,
"h": 714
}
]
},
"media_results": {
"result": {
"media_key": "3_1938542833776181248"
}
}
}
],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"extended_entities": {
"media": [
{
"display_url": "pic.x.com/9sj4WNtaxa",
"expanded_url": "https://x.com/ivanleomk/status/1938542933466321363/photo/1",
"id_str": "1938542833776181248",
"indices": [
70,
93
],
"media_key": "3_1938542833776181248",
"media_url_https": "https://pbs.twimg.com/media/GucWb70bwAAER2s.png",
"type": "photo",
"url": "https://t.co/9sj4WNtaxa",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 714,
"w": 744,
"resize": "fit"
},
"medium": {
"h": 714,
"w": 744,
"resize": "fit"
},
"small": {
"h": 653,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 714,
"width": 744,
"focus_rects": [
{
"x": 0,
"y": 257,
"w": 744,
"h": 417
},
{
"x": 0,
"y": 0,
"w": 714,
"h": 714
},
{
"x": 0,
"y": 0,
"w": 626,
"h": 714
},
{
"x": 0,
"y": 0,
"w": 357,
"h": 714
},
{
"x": 0,
"y": 0,
"w": 744,
"h": 714
}
]
},
"media_results": {
"result": {
"media_key": "3_1938542833776181248"
}
}
}
]
},
"favorite_count": 8,
"favorited": false,
"full_text": "Sped up import time by 700% after learning about getattr in python :) https://t.co/9sj4WNtaxa",
"is_quote_status": false,
"lang": "en",
"possibly_sensitive": false,
"possibly_sensitive_editable": true,
"quote_count": 0,
"reply_count": 0,
"retweet_count": 0,
"retweeted": false,
"user_id_str": "267160799",
"id_str": "1938542933466321363"
},
"quick_promote_eligibility": {
"eligibility": "IneligibleNotProfessional"
}
}
},
"tweetDisplayType": "Tweet"
},
"clientEventInfo": {
"component": "tweet",
"element": "tweet"
}
}
},
{
"entryId": "cursor-bottom-1953491369783721983",
"sortIndex": "1953491369783721983",
"content": {
"entryType": "TimelineTimelineCursor",
"__typename": "TimelineTimelineCursor",
"value": "DAAFCgABGxwyDP-___0LAAIAAAAoRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUFFYTV4YUc4eHFSMHc9PQgAAwAAAAIAAA",
"cursorType": "Bottom"
}
}
]
},
{
"type": "TimelineTerminateTimeline",
"direction": "Top"
},
{
"type": "TimelineTerminateTimeline",
"direction": "Bottom"
}
],
"metadata": {
"scribeConfig": {
"page": "ranked_replies"
}
}
}
}
}