Skip to content

Commit 56e6aaf

Browse files
committed
tweak minimal-fileds geo again
1 parent 52607d7 commit 56e6aaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twarc/command2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,13 +580,13 @@ def _process_expansions_shortcuts(kwargs):
580580
] = "author_id,in_reply_to_user_id,referenced_tweets.id,referenced_tweets.id.author_id,attachments.poll_ids,attachments.media_keys,geo.place_id"
581581
kwargs[
582582
"tweet_fields"
583-
] = "id,conversation_id,author_id,in_reply_to_user_id,referenced_tweets"
583+
] = "id,conversation_id,author_id,in_reply_to_user_id,referenced_tweets,geo"
584584
kwargs[
585585
"user_fields"
586586
] = "id,username,name,pinned_tweet_id" # pinned_tweet_id is the only extra one, id,username,name are always returned.
587587
kwargs["media_fields"] = "media_key"
588588
kwargs["poll_fields"] = "id"
589-
kwargs["place_fields"] = "id,geo"
589+
kwargs["place_fields"] = "id"
590590

591591
if kwargs.pop("no_context_annotations", None):
592592
kwargs[

0 commit comments

Comments
 (0)