From 6f06617920c0f8f15cc5825c10bd4cff9fb1aeaf Mon Sep 17 00:00:00 2001 From: Bjarne Riis Date: Mon, 13 May 2024 18:56:23 +0200 Subject: [PATCH] Added visibility to minute_data --- CHANGELOG.md | 9 +++++++++ pymeteobridgesql/__init__.py | 2 +- pymeteobridgesql/data.py | 2 ++ setup.py | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1097f3e..eb00f8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +# Release 1.2.4 + +**Date**: `2024-05-13` + +## What Changed + +* Added `visibility` to Minute Data + + # Release 1.2.3 **Date**: `2024-05-06` diff --git a/pymeteobridgesql/__init__.py b/pymeteobridgesql/__init__.py index 2a2447b..e547d45 100644 --- a/pymeteobridgesql/__init__.py +++ b/pymeteobridgesql/__init__.py @@ -7,6 +7,6 @@ from .data import ForecastDaily, ForecastHourly, MinuteData, MonthlyData, RealtimeData, StationData __title__ = "pymeteobridgesql" -__version__ = "1.2.3" +__version__ = "1.2.4" __author__ = "briis" __license__ = "MIT" diff --git a/pymeteobridgesql/data.py b/pymeteobridgesql/data.py index 7fba294..a77a77c 100644 --- a/pymeteobridgesql/data.py +++ b/pymeteobridgesql/data.py @@ -332,6 +332,7 @@ class MinuteData: pressure_trend: float uv: float solar_radiation: float + visibility: float def to_dict(self): return { @@ -354,6 +355,7 @@ def to_dict(self): "pressure_trend": self.pressure_trend, "uv": self.uv, "solar_radiation": self.solar_radiation, + "visibility": self.visibility, } @dataclass(frozen=True) diff --git a/setup.py b/setup.py index 3cfd3d5..c9a345a 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setuptools.setup( name="pymeteobridgesql", - version="1.2.3", + version="1.2.4", author="briis", author_email="bjarne@briis.com", description="Gets weather data from a MySQL table",