fixed auth3
This commit is contained in:
parent
57592562f4
commit
12c43c6fed
1 changed files with 0 additions and 11 deletions
11
app.py
11
app.py
|
|
@ -3,12 +3,9 @@ os.environ["NUMEXPR_MAX_THREADS"] = "12"
|
|||
|
||||
from fastapi import FastAPI, HTTPException, Depends, Body, status, Response
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from fastapi.responses import JSONResponse, FileResponse
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
from fastapi.security import OAuth2PasswordRequestForm
|
||||
from contextlib import asynccontextmanager
|
||||
|
||||
from typing import Dict, Any
|
||||
import logging
|
||||
from logging.handlers import RotatingFileHandler
|
||||
from datetime import timedelta
|
||||
|
|
@ -61,14 +58,6 @@ initLogging()
|
|||
logger = logging.getLogger(__name__)
|
||||
instanceLabel = APP_CONFIG.get("APP_ENV_LABEL")
|
||||
|
||||
# Import auth module
|
||||
from modules.auth import (
|
||||
createAccessToken,
|
||||
getCurrentActiveUser,
|
||||
getUserContext,
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES
|
||||
)
|
||||
|
||||
# Import models - import generically for INITIALIZATION
|
||||
import modules.gatewayModel as gatewayModel
|
||||
from modules.gatewayInterface import getGatewayInterface
|
||||
|
|
|
|||
Loading…
Reference in a new issue