diff --git a/models.py b/models.py index bd73c60..16ba0d5 100644 --- a/models.py +++ b/models.py @@ -19,6 +19,7 @@ class Book(Base): title: Mapped[str] = mapped_column(String(255), index=True) author: Mapped[str] = mapped_column(String(255)) + # Pydantic models class BookIn(BaseModel): """Pydantic model for book input"""