From bd81c6dae6c5b56006d0b9480234ea4f8cf46286 Mon Sep 17 00:00:00 2001 From: strepsiades Date: Wed, 11 Mar 2026 14:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=A8progress=5Ftype=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E4=B8=BANone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schemas/project/project_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/project/project_base.py b/schemas/project/project_base.py index 343d6bd..3671993 100644 --- a/schemas/project/project_base.py +++ b/schemas/project/project_base.py @@ -70,7 +70,7 @@ class ProjectResponseBase(BaseResponseWithID): complete_investment: float = Field(0.0, description="完成投资", examples=[80000.0]) # 其他信息 - progress_type: ProgressType = Field(..., description="推进分类", examples=[ProgressType.A]) + progress_type: ProgressType | None = Field(None, description="推进分类", examples=[ProgressType.A]) key_constraints: KeyConstraints = Field(KeyConstraints.NONE, description="关键制约", examples=[KeyConstraints.NONE]) key_constraints_remark: Optional[str] = Field("", description="关键制约备注", examples=["无"]) status: Optional[str] = Field(None, description="项目状态")