fix: add pydantic_settings to requirements
This commit is contained in:
@@ -8,7 +8,12 @@ Central configuration management for the MixVideo V2 application.
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Dict, Any
|
from typing import Dict, Any
|
||||||
from pydantic import BaseSettings, Field
|
try:
|
||||||
|
from pydantic_settings import BaseSettings
|
||||||
|
from pydantic import Field
|
||||||
|
except ImportError:
|
||||||
|
# Fallback for older pydantic versions
|
||||||
|
from pydantic import BaseSettings, Field
|
||||||
|
|
||||||
|
|
||||||
class Settings(BaseSettings):
|
class Settings(BaseSettings):
|
||||||
|
|||||||
@@ -65,3 +65,5 @@ loguru>=0.7.0
|
|||||||
# Configuration
|
# Configuration
|
||||||
pydantic>=2.0.0
|
pydantic>=2.0.0
|
||||||
pyyaml>=6.0
|
pyyaml>=6.0
|
||||||
|
|
||||||
|
pydantic_settings
|
||||||
|
|||||||
Reference in New Issue
Block a user