Some small changes
Z.B. Dateipfad oben hinschreiben
This commit is contained in:
1 parent
ea86fd75ec
commit
99cea87151
11 files changed
+19
-30
No files matched your search
@@ -1,3 +1,4 @@
|
||||
# @/routers/__init__.py
|
||||
from fastapi import APIRouter
|
||||
|
||||
from .users import router as users_router
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
# routers/auth.py
|
||||
# @/routers/auth.py
|
||||
from fastapi import APIRouter, Depends, status, Response
|
||||
from fastapi.security import OAuth2PasswordRequestForm
|
||||
from sqlalchemy.orm import Session
|
||||
@@ -6,7 +6,7 @@ from sqlalchemy.orm import Session
|
||||
from database import get_db
|
||||
from schemas.auth import LoginRequest
|
||||
from schemas.user import UserResponse
|
||||
#from exceptions import UserAlreadyExistsError, UserNotFoundError
|
||||
from exceptions import UnauthorizedError
|
||||
from crud.user import get_user_by_email
|
||||
from auth.security import verify_password, create_access_token
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# routers/users.py
|
||||
# @/routers/users.py
|
||||
from fastapi import APIRouter, Depends, HTTPException, status
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
|
||||
Reference in new issue
Block a user