mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
bbbb3b4a06
* Replace logging.warn with logging.warning * Install config global state early * Split config.py into more manageable pieces
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
|