feat(weather): wehaer value sky model instead of text cloudness

This commit is contained in:
2024-07-26 18:25:15 +03:00
parent f711b2d77b
commit 48a6cce569
6 changed files with 135 additions and 47 deletions

View File

@@ -10,7 +10,7 @@ class LocationValue(NamedTuple):
@classmethod
def parse(cls, source: str) -> "LocationValue":
location, name = source.split("-")
name, location = source.split("-")
return cls(int(location), name)