mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +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
|