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
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
|