Use correct default method

This commit is contained in:
Nick Mowen 2023-06-02 06:39:47 -06:00
parent 6689b82f54
commit a3235e0c0e

View File

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