[Update#1]支撑AI生成测试项-接口调整

This commit is contained in:
2025-12-02 18:13:30 +08:00
parent a396a8fcfa
commit 9db8b28f5b
14 changed files with 46 additions and 32 deletions

View File

@@ -69,9 +69,9 @@ class TestDemandTreeInputSchema(Schema):
class TestDemandCreateOutSchema(ModelSchema):
level: Union[str, int]
class Config:
class Meta:
model = TestDemand
model_exclude = ['remark', 'sort', 'project', 'round', 'dut', 'design']
exclude = ['remark', 'sort', 'project', 'round', 'dut', 'design']
# 新增测试子项单个子项的Schema
class TestContentInputSchema(Schema):