Changed dependency management to poetry (#1)
Co-authored-by: pptx704 <rafeedm.bhuiyan@gmail.com> Reviewed-on: #1
This commit is contained in:
@ -1,13 +1,16 @@
|
||||
import os
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user