You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah... they keep changing what kinda info gets returned in location history/semantic location history
Almost want to create multiple location types and return a Union of all the different kind of semantic location models, instead of having a bunch of None's on the model and the data being very sparse. Makes it more annoying for downstream consumers to figure out what type of location data they need to process
Will do an export tonight and see if I have the same errors
Sure, You can make placeid optional and add the semantic info
Even in the latest export getting quite a few errors originating from
google_takeout_parser/google_takeout_parser/parse_json.py
Lines 193 to 196 in 6561a6a
The reason is sometimes they are missing
placeId
which is required:google_takeout_parser/google_takeout_parser/models.py
Line 147 in 6561a6a
Most of them look like this, with either
TYPE_HOME
orTYPE_WORK
:(sometimes it's TYPE_HOME/TYPE_WORK and placeId is present as well, but not always)
There are a few remaining ones with different type:
, however not sure what that one means.
Not sure what's the right way to handle this, perhaps making
placeId
optional and perhaps also addingsemanticType
field?The text was updated successfully, but these errors were encountered: