17 lines
260 B
Python
17 lines
260 B
Python
import os
|
|
|
|
from dotenv import load_dotenv
|
|
from pydantic_settings import BaseSettings
|
|
|
|
load_dotenv()
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
JWT_SECRET: str
|
|
JWT_ALGORITHM: str
|
|
JWT_EXPIRE_MINUTES: int
|
|
SQLALCHEMY_DATABASE_URL: str
|
|
|
|
|
|
settings = Settings()
|