Skip to content

Commit

Permalink
Added visibility to minute_data
Browse files Browse the repository at this point in the history
  • Loading branch information
briis committed May 13, 2024
1 parent 76a3fb7 commit 6f06617
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
2 changes: 1 addition & 1 deletion pymeteobridgesql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 2 additions & 0 deletions pymeteobridgesql/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ class MinuteData:
pressure_trend: float
uv: float
solar_radiation: float
visibility: float

def to_dict(self):
return {
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6f06617

Please sign in to comment.