Skip to content

Commit

Permalink
set default fields duration to 1d
Browse files Browse the repository at this point in the history
  • Loading branch information
steersbob committed Jan 17, 2024
1 parent 1be025a commit c83a433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brewblox_history/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class DatastoreDeleteResponse(BaseModel):


class TimeSeriesFieldsQuery(BaseModel):
duration: str = Field('10m', examples=['10m', '1d'])
duration: str = Field('1d', examples=['10m', '1d'])


class TimeSeriesMetricsQuery(BaseModel):
Expand Down

0 comments on commit c83a433

Please sign in to comment.