Skip to content

Commit

Permalink
🎨 Linting Import Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaharBand committed Jun 21, 2024
1 parent fb4d528 commit 6cd2cb3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/api/controllers/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
from fastapi import Depends, HTTPException, status
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm

import src.api.models.user as user_model
from src.core.security.password import verify_password
from src.core.security.token import (
ACCESS_TOKEN_EXPIRE_MINUTES,
Token,
create_access_token,
decode_jwt_token,
)
import src.api.models.user as user_model
from src.dal.entities.user import User

oauth2_scheme = OAuth2PasswordBearer(tokenUrl="auth/token/")
Expand Down
2 changes: 1 addition & 1 deletion backend/src/api/models/device.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from beanie import PydanticObjectId

from src.dal.entities.device import Device
import src.dal.repositories.device as device_repository
from src.dal.entities.device import Device


async def create_device(device_data: dict) -> Device:
Expand Down
2 changes: 1 addition & 1 deletion backend/src/api/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from beanie import PydanticObjectId
from fastapi import HTTPException, status

import src.dal.repositories.user as user_repository
from src.core.security.password import hash_password
from src.dal.entities.user import User
import src.dal.repositories.user as user_repository


async def create_user(username: str, password: str) -> User:
Expand Down

0 comments on commit 6cd2cb3

Please sign in to comment.