Skip to content

Commit

Permalink
Update pydantic
Browse files Browse the repository at this point in the history
  • Loading branch information
Christdej committed Oct 24, 2023
1 parent 45ecf3d commit bc75ea1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@
package_dir={"": "src"},
package_data={"isar_exr": []},
include_package_data=True,
install_requires=["alitra", "isar", "gql[aiohttp]", "python-dotenv", "pydantic"],
install_requires=[
"alitra",
"isar",
"gql[aiohttp]",
"python-dotenv",
"pydantic",
"pydantic_settings",
],
setup_requires=[
"wheel",
],
Expand Down
3 changes: 2 additions & 1 deletion src/isar_exr/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from pathlib import Path

from dotenv import load_dotenv
from pydantic import BaseSettings, Field
from pydantic import Field
from pydantic_settings import BaseSettings


class Settings(BaseSettings):
Expand Down

0 comments on commit bc75ea1

Please sign in to comment.