removing load_env

This commit is contained in:
msramalho
2024-10-17 13:10:19 +01:00
parent f2a14abb17
commit 94f7be3fd8
3 changed files with 0 additions and 9 deletions

View File

@@ -1,7 +1,4 @@
import os
from dotenv import load_dotenv
load_dotenv()
VERSION = "0.7.0"
API_DESCRIPTION = """

View File

@@ -5,7 +5,6 @@ from fastapi.encoders import jsonable_encoder
from fastapi.responses import JSONResponse
from fastapi.staticfiles import StaticFiles
from fastapi.middleware.cors import CORSMiddleware
from dotenv import load_dotenv
from prometheus_fastapi_instrumentator import Instrumentator
from datetime import datetime
import sqlalchemy
@@ -25,8 +24,6 @@ from auto_archiver import Metadata
from endpoints import default_router, url_router, sheet_router, task_router, interoperability_router
load_dotenv()
app = FastAPI(
title="Auto-Archiver API",

View File

@@ -4,9 +4,6 @@ from sqlalchemy import engine_from_config
from sqlalchemy import pool
from alembic import context
from dotenv import load_dotenv
load_dotenv()
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.