mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-23 07:02:48 +03:00
Supported from Python 3.9, see https://peps.python.org/pep-0615/. Also https://blog.ganssle.io/articles/2019/11/utcnow.html.
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"
|