update
This commit is contained in:
@@ -4,7 +4,7 @@ from .models import Tutorial
|
||||
|
||||
|
||||
class TutorialSlim(Schema):
|
||||
display: str
|
||||
display: int
|
||||
title: str
|
||||
is_public: bool
|
||||
|
||||
@@ -16,13 +16,12 @@ class TutorialAll(ModelSchema):
|
||||
|
||||
|
||||
class TutorialReturn(Schema):
|
||||
total: int
|
||||
list: List[TutorialSlim]
|
||||
first: Optional[TutorialAll]
|
||||
|
||||
|
||||
class TutorialIn(Schema):
|
||||
display: str
|
||||
display: int
|
||||
title: str
|
||||
content: str
|
||||
is_public: bool = False
|
||||
|
||||
Reference in New Issue
Block a user