mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-30 19:09:13 +01:00
12 lines
263 B
Python
12 lines
263 B
Python
|
from pydantic import Field
|
||
|
|
||
|
from frigate.const import DEFAULT_DB_PATH
|
||
|
|
||
|
from .base import FrigateBaseModel
|
||
|
|
||
|
__all__ = ["DatabaseConfig"]
|
||
|
|
||
|
|
||
|
class DatabaseConfig(FrigateBaseModel):
|
||
|
path: str = Field(default=DEFAULT_DB_PATH, title="Database path.") # noqa: F821
|