diff --git a/endpoints/library.get.py b/endpoints/library.get.py index e7e9d74..b3bf50f 100644 --- a/endpoints/library.get.py +++ b/endpoints/library.get.py @@ -1,5 +1,4 @@ -# Entity: Book, Author -```python + from fastapi import APIRouter, Depends, HTTPException, status from sqlalchemy.orm import Session from typing import List @@ -16,4 +15,3 @@ async def get_books_by_authors( ): books = db.query(Book).join(Author).all() return books -``` \ No newline at end of file