Skip to content

Commit 644b969

Browse files
committed
refactor: remove unnecessary attribute
1 parent 4e1b448 commit 644b969

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/app/models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ class ItemBase(SQLModel):
6666

6767
# Properties to receive on item creation
6868
class ItemCreate(ItemBase):
69-
title: str = Field(min_length=1, max_length=255)
70-
69+
pass
7170

7271
# Properties to receive on item update
7372
class ItemUpdate(ItemBase):

0 commit comments

Comments
 (0)