blakeblackshear.frigate/frigate/config/database.py
gtsiam bbbb3b4a06
Split config.py into multiple files (#14038)
* Replace logging.warn with logging.warning

* Install config global state early

* Split config.py into more manageable pieces
2024-09-28 14:21:42 -05:00

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