refactor(doc): update docs static
This commit is contained in:
@@ -53,7 +53,7 @@ class OpenWeatherApi(WeatherApi):
|
||||
lon=item.lon,
|
||||
country=item.country,
|
||||
country_code=item.country.lower(),
|
||||
district=item.state,
|
||||
district=item.state or "",
|
||||
subdistrict="",
|
||||
)
|
||||
for item in result
|
||||
|
||||
@@ -69,11 +69,11 @@ class Forecast(Model):
|
||||
|
||||
class Location(Model):
|
||||
name: str
|
||||
local_names: dict[str, str] | None = None
|
||||
lat: float
|
||||
lon: float
|
||||
country: str
|
||||
state: str
|
||||
state: str | None = None
|
||||
local_names: dict[str, str] | None = None
|
||||
|
||||
|
||||
class OpenWeather:
|
||||
|
||||
Reference in New Issue
Block a user