my.time.tz.via_location: provide default (empty) config if user doesn't have time config defined

This commit is contained in:
Dima Gerasimov 2022-05-22 15:21:08 +01:00
parent 76a497f2bb
commit fa6f0c7ffa
2 changed files with 24 additions and 3 deletions

View file

@ -80,8 +80,11 @@ class location:
accuracy: float
from my.core.compat import Literal
class time:
class tz:
policy: Literal['keep', 'convert', 'throw']
class via_location:
fast: bool
sort_locations: bool