mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-07 00:06:57 +01:00
d3b631a952
* Organize api files * Add more API definitions for events * Add export select by ID * Typing fixes * Update openapi spec * Change type * Fix test * Fix message * Fix tests
13 lines
318 B
Python
13 lines
318 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class AppTimelineHourlyQueryParameters(BaseModel):
|
|
cameras: Optional[str] = "all"
|
|
labels: Optional[str] = "all"
|
|
after: Optional[float] = None
|
|
before: Optional[float] = None
|
|
limit: Optional[int] = 200
|
|
timezone: Optional[str] = "utc"
|