refSync-API / core /config.py
Al-Fathir
feat init and add mendeley auth and import ref endpoint
18d060d
raw
history blame contribute delete
268 Bytes
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
PROJECT_NAME: str = "RefSync"
MENDELEY_CLIENT_ID: str
MENDELEY_CLIENT_SECRET: str
MENDELEY_REDIRECT_URI: str
class Config:
env_file = ".env"
settings = Settings()