Browse Source
♻️ Remove duplicated information in the ItemCreate model (#1287)
pull/13907/head
jjaakko
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
backend/app/models.py
|
|
@ -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 |
|
|
|