From 9427ac4d3abba095ba35b1634db36be9ff1bdc67 Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Sun, 19 May 2024 09:20:52 -1000 Subject: [PATCH] BaseSettings import fix --- setup.cfg | 1 + src/aag/settings.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 3753359..13671ad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -48,6 +48,7 @@ install_requires = httpie pandas pydantic + pydantic-settings pyserial>=3.4 python-dotenv typer[all] diff --git a/src/aag/settings.py b/src/aag/settings.py index 9ba1060..5cd818b 100644 --- a/src/aag/settings.py +++ b/src/aag/settings.py @@ -1,4 +1,5 @@ -from pydantic import BaseSettings, BaseModel +from pydantic_settings import BaseSettings +from pydantic import BaseModel from enum import StrEnum