mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Use correct default method
This commit is contained in:
parent
6689b82f54
commit
a3235e0c0e
@ -327,7 +327,7 @@ class ZoneConfig(BaseModel):
|
||||
title="Coordinates polygon for the defined zone."
|
||||
)
|
||||
inertia: int = Field(
|
||||
default_factory=3,
|
||||
default=3,
|
||||
title="Number of frames required for object to be considered present in the zone.",
|
||||
gt=0,
|
||||
le=10,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user