mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Formatting
This commit is contained in:
parent
ecfc86e553
commit
b37bb8edc7
@ -5,9 +5,7 @@ from pydantic import BaseModel, Field
|
|||||||
|
|
||||||
|
|
||||||
class EventsSubLabelBody(BaseModel):
|
class EventsSubLabelBody(BaseModel):
|
||||||
subLabel: str = Field(
|
subLabel: str = Field(title="Sub label", max_length=100)
|
||||||
title="Sub label", max_length=100
|
|
||||||
)
|
|
||||||
subLabelScore: Optional[float] = Field(
|
subLabelScore: Optional[float] = Field(
|
||||||
title="Score for sub label", default=None, gt=0.0, le=1.0
|
title="Score for sub label", default=None, gt=0.0, le=1.0
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user