From 0f12549ec3cb6830e21b6d0d46124883a329eb52 Mon Sep 17 00:00:00 2001 From: Yoshihiro OKUMURA Date: Wed, 19 Jul 2023 12:52:40 +0900 Subject: [PATCH] support pydantic version 2. --- mdrsclient/settings.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mdrsclient/settings.py b/mdrsclient/settings.py index f161b5c..276419c 100644 --- a/mdrsclient/settings.py +++ b/mdrsclient/settings.py @@ -1,6 +1,6 @@ import os -from pydantic import BaseSettings +from pydantic_settings import BaseSettings class Settings(BaseSettings): diff --git a/requirements.txt b/requirements.txt index 23cb1db..7486add 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ requests python-dotenv pydantic +pydantic-settings PyJWT validators