1.6
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
"""心情叶 Schema"""
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class LeafUpdate(BaseModel):
|
||||
mood: str | None = Field(None, max_length=20)
|
||||
note: str | None = Field(None, max_length=500)
|
||||
Reference in New Issue
Block a user