We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Location.timezone
1 parent 56b1884 commit 5872570Copy full SHA for 5872570
src/frequenz/client/microgrid/_metadata.py
@@ -24,8 +24,10 @@ class Location:
24
timezone: ZoneInfo | None = None
25
"""The timezone of the microgrid.
26
27
- The timezone will be set to None if the latitude or longitude points
28
- are not set or the timezone cannot be found given the location points.
+ If not passed during construction (or `None` is passed), and there is a `longitude`
+ and `latitude`, then the timezone wil be looked up in a database based on the
29
+ coordinates. This lookup could fail, in which case the timezone will still be
30
+ `None`.
31
"""
32
33
def __post_init__(self) -> None:
0 commit comments