blakeblackshear.frigate/frigate/api/defs/regenerate_query_parameters.py

10 lines
253 B
Python
Raw Permalink Normal View History

from typing import Optional
from pydantic import BaseModel
from frigate.events.types import RegenerateDescriptionEnum
class RegenerateQueryParameters(BaseModel):
source: Optional[RegenerateDescriptionEnum] = RegenerateDescriptionEnum.thumbnails