mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-29 00:06:19 +01:00
95d6da3111
* Allow embedding of snapshot for description via config option * docs * frontend button * Backend * crop snapshot to region * only show dropdown when event has snapshot * fix cursor on dropdown * crop on initial generation as well * use enum for type * fix type
10 lines
253 B
Python
10 lines
253 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
from frigate.events.types import RegenerateDescriptionEnum
|
|
|
|
|
|
class RegenerateQueryParameters(BaseModel):
|
|
source: Optional[RegenerateDescriptionEnum] = RegenerateDescriptionEnum.thumbnails
|