move sub dir to root #13

Closed
osbm wants to merge 1 commit from move-to-root into main
7 changed files with 11 additions and 11 deletions

View file

View file

View file

View file

View file

@ -1,5 +1,5 @@
from .config import app
from .auth.router import router as auth_router
from config import app
from router import router as auth_router
app.include_router(auth_router)

View file

@ -1,6 +1,6 @@
from enum import Enum
from backend.config import SECRET_KEY, ALGORITHM, ACCESS_TOKEN_EXPIRE_MINUTES
from backend.config import pwd_context
from config import SECRET_KEY, ALGORITHM, ACCESS_TOKEN_EXPIRE_MINUTES
from config import pwd_context
from datetime import datetime, timedelta, timezone
from pydantic import BaseModel
from fastapi import Depends, HTTPException

View file

@ -2,7 +2,7 @@ from fastapi import APIRouter, Depends, HTTPException, status
from .models import UserInDb, User, Role, Token, UserPublic
from .models import get_current_active_user, authenticate_user, create_access_token , fake_db, get_current_user
from datetime import timedelta, datetime, timezone
from ..config import ACCESS_TOKEN_EXPIRE_MINUTES
from .config import ACCESS_TOKEN_EXPIRE_MINUTES
from typing import Annotated, Optional
from fastapi.security import OAuth2PasswordRequestForm