Add python-dotenv

This commit is contained in:
2021-12-04 21:45:24 +01:00
parent 616218d612
commit 90f2b3c8de
3 changed files with 5 additions and 1 deletions

View File

@ -6,9 +6,12 @@ from datetime import datetime
from pathlib import Path from pathlib import Path
import ffmpeg import ffmpeg
from dotenv import load_dotenv
from fastapi import FastAPI, File, UploadFile from fastapi import FastAPI, File, UploadFile
from fastapi.responses import HTMLResponse from fastapi.responses import HTMLResponse
load_dotenv()
app = FastAPI( app = FastAPI(
title="discord-nice-embed", title="discord-nice-embed",
description=""" description="""

2
poetry.lock generated
View File

@ -920,7 +920,7 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.9" python-versions = "^3.9"
content-hash = "f3f9556e272543ee70bb1d4b583b9cbd6b89010d67667776f1db66e26475f198" content-hash = "6653c39cef437f690adbf0fb6e35e843fb6837464edb261a0978557ff629937a"
[metadata.files] [metadata.files]
anyio = [ anyio = [

View File

@ -15,6 +15,7 @@ fastapi = { extras = ["all"], version = "^0.70.0" }
ffmpeg-python = "^0.2.0" ffmpeg-python = "^0.2.0"
gunicorn = "^20.1.0" gunicorn = "^20.1.0"
uvicorn = "^0.15.0" uvicorn = "^0.15.0"
python-dotenv = "^0.19.2"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
pytest = "^5.2" pytest = "^5.2"