Skip to content

Commit

Permalink
tweak minimal-fileds geo again
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbrigadir committed Oct 21, 2021
1 parent 52607d7 commit 56e6aaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twarc/command2.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,13 +580,13 @@ def _process_expansions_shortcuts(kwargs):
] = "author_id,in_reply_to_user_id,referenced_tweets.id,referenced_tweets.id.author_id,attachments.poll_ids,attachments.media_keys,geo.place_id"
kwargs[
"tweet_fields"
] = "id,conversation_id,author_id,in_reply_to_user_id,referenced_tweets"
] = "id,conversation_id,author_id,in_reply_to_user_id,referenced_tweets,geo"
kwargs[
"user_fields"
] = "id,username,name,pinned_tweet_id" # pinned_tweet_id is the only extra one, id,username,name are always returned.
kwargs["media_fields"] = "media_key"
kwargs["poll_fields"] = "id"
kwargs["place_fields"] = "id,geo"
kwargs["place_fields"] = "id"

if kwargs.pop("no_context_annotations", None):
kwargs[
Expand Down

0 comments on commit 56e6aaf

Please sign in to comment.