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

Feature: Add helper functions for current timeframe summaries #290

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

CM000n
Copy link
Collaborator

@CM000n CM000n commented Jan 10, 2024

I took @GitOldGrumpy 's idea from #265 and added some helper functions that allow you to directly get the summary for the current day, week, month and year.

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (66ad51e) 72.36% compared to head (32c6509) 71.81%.
Report is 1 commits behind head on master.

Files Patch % Lines
mytoyota/models/vehicle.py 25.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #290      +/-   ##
==========================================
- Coverage   72.36%   71.81%   -0.56%     
==========================================
  Files          28       28              
  Lines        1357     1373      +16     
==========================================
+ Hits          982      986       +4     
- Misses        375      387      +12     
Flag Coverage Δ
unittests 71.81% <25.00%> (-0.56%) ⬇️

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.

@CM000n CM000n merged commit 38cf084 into master Jan 10, 2024
25 checks passed
@CM000n CM000n deleted the feature/add_current_day_week_month_year_statistics branch January 10, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants