mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-18 19:43:00 +03:00
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
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user