clean up some

This commit is contained in:
Tyrel Souza 2022-10-14 14:03:52 -04:00
parent e8680712cf
commit 65a353cb2d
No known key found for this signature in database
GPG Key ID: F6582CF1308A2360
3 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,11 @@
from fastapi import APIRouter, Depends, HTTPException from fastapi import APIRouter, Depends, HTTPException
from fastapi_utils.cbv import cbv from fastapi_utils.cbv import cbv
from sqlalchemy.orm import Session 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.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 database import get_db
from schemas import Album, CreateAndUpdateAlbum, PaginatedAlbum
router = APIRouter() router = APIRouter()

View File

@ -3,7 +3,7 @@ from sqlalchemy.types import String, Integer, Float
from database import Base from database import Base
from typing import List from typing import List
from sqlalchemy.orm import Session from sqlalchemy.orm import Session
from schemas import CreateAndUpdateAlbum from models.schemas import CreateAndUpdateAlbum
class Album(Base): class Album(Base):