Skip to content

Conversation

@jpstroop
Copy link
Owner

No description provided.

@codecov
Copy link

codecov bot commented Mar 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (cebacf1) to head (ea582b4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main       #20    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           33        34     +1     
  Lines         1809      2030   +221     
  Branches       130       165    +35     
==========================================
+ Hits          1809      2030   +221     
Files with missing lines Coverage Δ
fitbit_client/client.py 100.00% <100.00%> (ø)
fitbit_client/exceptions.py 100.00% <100.00%> (ø)
fitbit_client/resources/activity.py 100.00% <100.00%> (ø)
fitbit_client/resources/base.py 100.00% <100.00%> (ø)
fitbit_client/resources/electrocardiogram.py 100.00% <100.00%> (ø)
...client/resources/irregular_rhythm_notifications.py 100.00% <100.00%> (ø)
fitbit_client/resources/pagination.py 100.00% <100.00%> (ø)
fitbit_client/resources/sleep.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  - Add PaginatedIterator class for navigating multi-page responses
  - Implement pagination in four endpoints:
    - `get_sleep_log_list()`
    - `get_activity_log_list()`
    - `get_ecg_log_list()`
    - `get_irn_alerts_list()`
  - Add automatic rate limit handling with proper backoff
  - Respect Fitbit's rate limit headers for retry timing
  - Support fallback to exponential backoff when headers not present
  - Add documentation for pagination and rate limiting
@jpstroop jpstroop merged commit 1d51869 into main Mar 10, 2025
10 checks passed
@jpstroop jpstroop deleted the pagination branch March 10, 2025 03:11
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.

2 participants