Skip to content

Commit

Permalink
Merge pull request #56 from marcelbarbulescu/fix/allow-for-no-hr-data…
Browse files Browse the repository at this point in the history
…-in-telemetry

Fix/allow for no `hr` data in telemetry
  • Loading branch information
NodeJSmith authored Sep 24, 2024
2 parents cd6cf06 + 823d57b commit 832a786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/otf_api/models/responses/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class RowData(OtfItemBase):

class TelemetryItem(OtfItemBase):
relative_timestamp: int = Field(..., alias="relativeTimestamp")
hr: int
hr: int | None = None
agg_splats: int = Field(..., alias="aggSplats")
agg_calories: int = Field(..., alias="aggCalories")
timestamp: datetime | None = Field(
Expand Down

0 comments on commit 832a786

Please sign in to comment.