diff --git a/genotype_api/config.py b/genotype_api/config.py index d39a359..566c621 100644 --- a/genotype_api/config.py +++ b/genotype_api/config.py @@ -1,7 +1,6 @@ from pathlib import Path -from pydantic import BaseSettings - +from pydantic_settings import BaseSettings GENOTYPE_PACKAGE = Path(__file__).parent PACKAGE_ROOT: Path = GENOTYPE_PACKAGE.parent ENV_FILE: Path = PACKAGE_ROOT / ".env" diff --git a/requirements.txt b/requirements.txt index c32a2ea..76729c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,8 @@ httptools numpy openpyxl passlib -pydantic==1.10.14 +pydantic==2.6.4 +pydantic-settings pymysql python-dotenv python-jose[cryptography]