mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	* 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
 |