4 Commits
0.4.0 ... 0.4.2

Author SHA1 Message Date
bad5dff2b2 ci(version): 0.4.2 2026-07-22 21:52:30 +03:00
e2af31b812 fix(gismeteo): fix empty wind direction value in parser 2026-07-22 21:52:15 +03:00
6c76dae760 ci(version): 0.4.1 2026-07-02 14:17:55 +03:00
28951df9b5 fix(openweather): optional visability field in forecast model 2026-07-02 14:17:48 +03:00
5 changed files with 6 additions and 5 deletions

View File

@@ -148,6 +148,7 @@ class WindDirectionParser(RowParser[WindDirection]):
WIND_DIRECTION_MAP: dict[str, WindDirection] = {
"": WindDirection.CALM,
"": WindDirection.CALM,
"штиль": WindDirection.CALM,
"с": WindDirection.N,
"св": WindDirection.NE,

View File

@@ -53,7 +53,7 @@ class ForecastItem(Model):
weather: list[Weather]
clouds: Clouds
wind: Wind
visibility: int
visibility: int | None = None
pop: float
rain: Rain | None = None
sys: Sys

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "gallery"
version = "0.4.0"
version = "0.4.2"
description = ""
authors = ["shmyga <shmyga.z@gmail.com>"]
readme = "README.md"

View File

@@ -1,12 +1,12 @@
{
"name": "gallery",
"version": "0.4.0",
"version": "0.4.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gallery",
"version": "0.4.0",
"version": "0.4.2",
"license": "ISC",
"dependencies": {
"@popperjs/core": "^2.11.8",

View File

@@ -1,6 +1,6 @@
{
"name": "gallery",
"version": "0.4.0",
"version": "0.4.2",
"scripts": {
"build": "vite build",
"dev": "vite build --watch"