Skip to content

Implement TimeSeriesData model for standardized time-series handling#25

Merged
godely merged 3 commits intomainfrom
task-5a-timeseries-data
Jun 22, 2025
Merged

Implement TimeSeriesData model for standardized time-series handling#25
godely merged 3 commits intomainfrom
task-5a-timeseries-data

Conversation

@godely
Copy link
Owner

@godely godely commented Jun 22, 2025

  • Add TimeSeriesData model with int timestamp and interval fields
  • Automatic conversion from ISO 8601 strings to Unix timestamps
  • Comprehensive documentation for time-series data structure
  • Fix unused import in webhook model

🤖 Generated with Claude Code

godely and others added 3 commits June 21, 2025 20:57
The MET field in daily activity data is a complex object containing
time-series data, not a simple string. Added MetData model to properly
handle the structure with interval, items array, and timestamp.

This fix resolves validation errors when retrieving real daily activity
data from the Oura API.
The test was using a string for the 'met' field but the model now expects
a structured MetData object with interval, items, and timestamp fields.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add TimeSeriesData model with int timestamp and interval fields
- Automatic conversion from ISO 8601 strings to Unix timestamps
- Comprehensive documentation for time-series data structure
- Fix unused import in webhook model

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@godely godely force-pushed the task-5a-timeseries-data branch from 051eac1 to de8be8b Compare June 22, 2025 00:16
@godely godely merged commit 7b925cc into main Jun 22, 2025
1 check passed
@godely godely deleted the task-5a-timeseries-data branch June 22, 2025 03:30
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.

1 participant