From 9e96e9057089a240b04d82ba37dd51058646784d Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Wed, 26 Mar 2025 15:59:54 +0000 Subject: [PATCH] feat: Update endpoint library --- endpoints/library.get.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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