Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix values as nullable #51

Merged
merged 2 commits into from
Mar 17, 2024
Merged

Fix values as nullable #51

merged 2 commits into from
Mar 17, 2024

Conversation

sdenel
Copy link
Contributor

@sdenel sdenel commented Mar 16, 2024

Some values can in fact be None in certain circumstances, like when changing from one watch to another

Some values can in fact be None in certain circumstances, like when changing from one watch to another
Copy link

codecov bot commented Mar 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (9b5dfd4) to head (6a8776d).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #51   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           34        34           
  Lines         1252      1252           
=========================================
  Hits          1252      1252           
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matin
Copy link
Owner

matin commented Mar 16, 2024

Looks good. I'll merge and release tomorrow

@duarteocarmo
Copy link

@matin, also sleep can be null. (e.g., charging my watch while sleeping)

image

image

@duarteocarmo
Copy link

Perhaps we can include that here as well? I think and Optional in stats/sleep should be enough!

@matin matin merged commit 7ba3ec6 into matin:main Mar 17, 2024
19 checks passed
@matin
Copy link
Owner

matin commented Mar 17, 2024

Released as 0.4.45

@duarteocarmo included your request as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants