clean up some
This commit is contained in:
parent
e8680712cf
commit
65a353cb2d
@ -1,9 +1,11 @@
|
||||
from fastapi import APIRouter, Depends, HTTPException
|
||||
from fastapi_utils.cbv import cbv
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
from models.album import get_all_albums, create_album, get_album_by_id, update_album, delete_album, AlbumException
|
||||
from models.schemas import Album, CreateAndUpdateAlbum, PaginatedAlbum
|
||||
|
||||
from database import get_db
|
||||
from schemas import Album, CreateAndUpdateAlbum, PaginatedAlbum
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
@ -3,7 +3,7 @@ from sqlalchemy.types import String, Integer, Float
|
||||
from database import Base
|
||||
from typing import List
|
||||
from sqlalchemy.orm import Session
|
||||
from schemas import CreateAndUpdateAlbum
|
||||
from models.schemas import CreateAndUpdateAlbum
|
||||
|
||||
|
||||
class Album(Base):
|
||||
|
Loading…
Reference in New Issue
Block a user