refactor: renamed built_in_modules into modules
This commit is contained in:
@ -2,7 +2,7 @@ from typing import Optional
|
||||
|
||||
from schemas.base import BaseSchema, BaseResponse
|
||||
from schemas.deal_tag import DealTagSchema
|
||||
from schemas.module import BuiltInModuleSchema
|
||||
from schemas.module import ModuleSchema
|
||||
|
||||
|
||||
# region Entity
|
||||
@ -11,7 +11,7 @@ from schemas.module import BuiltInModuleSchema
|
||||
class ProjectSchema(BaseSchema):
|
||||
id: int
|
||||
name: str
|
||||
built_in_modules: list[BuiltInModuleSchema]
|
||||
modules: list[ModuleSchema]
|
||||
tags: list[DealTagSchema]
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ class CreateProjectSchema(BaseSchema):
|
||||
|
||||
class UpdateProjectSchema(BaseSchema):
|
||||
name: Optional[str] = None
|
||||
built_in_modules: list[BuiltInModuleSchema] = None
|
||||
modules: list[ModuleSchema] = None
|
||||
|
||||
|
||||
# endregion
|
||||
|
||||
Reference in New Issue
Block a user