♻️ Remove duplicated information in the ItemCreate model (#1287)

This commit is contained in:
jjaakko 2024-08-13 06:58:31 +03:00 committed by GitHub
parent 572f513458
commit 974340c8ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ class ItemBase(SQLModel):
# Properties to receive on item creation
class ItemCreate(ItemBase):
title: str = Field(min_length=1, max_length=255)
pass
# Properties to receive on item update