From 012275f78d6831965cef11e4e722ed169cbcec1c Mon Sep 17 00:00:00 2001 From: Dagger Agent Date: Fri, 22 Aug 2025 06:27:35 +0000 Subject: [PATCH] Fixes PR #113 --- models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models.py b/models.py index 38c8356..111e69d 100644 --- a/models.py +++ b/models.py @@ -17,7 +17,8 @@ class Book(Base): id: Mapped[int] = mapped_column(primary_key=True, index=True) title: Mapped[str] = mapped_column(String(255), index=True) - authoraa: Mapped[str] = mapped_column(String(255)) + author: Mapped[str] = mapped_column(String(255)) # Fixed field name + # Pydantic models class BookIn(BaseModel):