Skip to content

Commit 974340c

Browse files
authored
♻️ Remove duplicated information in the ItemCreate model (#1287)
1 parent 572f513 commit 974340c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ItemBase(SQLModel):
6464

6565
# Properties to receive on item creation
6666
class ItemCreate(ItemBase):
67-
title: str = Field(min_length=1, max_length=255)
67+
pass
6868

6969

7070
# Properties to receive on item update

0 commit comments

Comments
 (0)