mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-29 00:06:19 +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
|