Skip to content

Conversation

@vikram-dagger
Copy link
Owner

No description provided.

vikram-dagger pushed a commit that referenced this pull request Aug 22, 2025
@vikram-dagger
Copy link
Owner Author

Fixed the incorrect attribute name in the Book model from 'authoraa' to 'author'. Ran the tests successfully with all test cases passing.

Diff:

index 38c8356..bd73c60 100644
--- a/models.py
+++ b/models.py
@@ -17,7 +17,7 @@ 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))
 
 # Pydantic models
 class BookIn(BaseModel):

PR with fixes: #118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants