via_home: add accuracy, cache history
This commit is contained in:
parent
02ea0b26dd
commit
36beab5f17
2 changed files with 17 additions and 4 deletions
|
@ -73,6 +73,7 @@ class location:
|
|||
# todo ugh, need to think about it... mypy wants the type here to be general, otherwise it can't deduce
|
||||
# and we can't import the types from the module itself, otherwise would be circular. common module?
|
||||
home: Union[LatLon, Sequence[Tuple[DateIsh, LatLon]]] = (1.0, -1.0)
|
||||
home_accuracy = 1000.0
|
||||
|
||||
class via_ip:
|
||||
accuracy: float
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue