This can be done with either pip install python-dotenv or pip install pydantic[dotenv] ... class Settings(BaseSettings): ... class Config: env_file = '.env' ...
確定! 回上一頁