google_takeout: add semantic location history (#278)
* google_takeout: add semantic location history
This commit is contained in:
parent
a4c713664e
commit
9d231a8ea9
3 changed files with 96 additions and 0 deletions
|
@ -89,6 +89,14 @@ class location:
|
|||
export_path: Paths = ''
|
||||
accuracy: float
|
||||
|
||||
class google_takeout_semantic:
|
||||
# a value between 0 and 100, 100 being the most confident
|
||||
# set to 0 to include all locations
|
||||
# https://locationhistoryformat.com/reference/semantic/#/$defs/placeVisit/properties/locationConfidence
|
||||
require_confidence: float = 40
|
||||
# default accuracy for semantic locations
|
||||
accuracy: float = 100
|
||||
|
||||
|
||||
from my.core.compat import Literal
|
||||
class time:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue