Skip to content

Commit

Permalink
Declare last_night_avg as optional (#44)
Browse files Browse the repository at this point in the history
* Declare last_night_avg as optional

"last_night_avg" can be None sometimes.

* bump version

---------

Co-authored-by: Matin Tamizi <mtamizi@duck.com>
  • Loading branch information
sdenel and matin authored Jan 11, 2024
1 parent b66ad1d commit 34dc0a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion garth/data/hrv.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Baseline:
class HRVSummary:
calendar_date: date
weekly_avg: int
last_night_avg: int
last_night_avg: Optional[int]
last_night_5_min_high: int
baseline: Baseline
status: str
Expand Down
2 changes: 1 addition & 1 deletion garth/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.42"
__version__ = "0.4.43"

0 comments on commit 34dc0a1

Please sign in to comment.