my.time.tz.via_location: provide default (empty) config if user doesn't have time config defined
This commit is contained in:
parent
76a497f2bb
commit
eae0e1a614
2 changed files with 24 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue