From d1091fecee471ff297a3511be9369f0a125791dc Mon Sep 17 00:00:00 2001 From: Lynwee Hou Date: Mon, 26 Feb 2024 19:38:34 +0800 Subject: [PATCH] fix(azuredevops): fix unexpected environment field in cicd_tasks and cicd_pipelines --- backend/python/pydevlake/pydevlake/domain_layer/devops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/python/pydevlake/pydevlake/domain_layer/devops.py b/backend/python/pydevlake/pydevlake/domain_layer/devops.py index 80630e17031..abcd9344894 100644 --- a/backend/python/pydevlake/pydevlake/domain_layer/devops.py +++ b/backend/python/pydevlake/pydevlake/domain_layer/devops.py @@ -66,7 +66,7 @@ class CICDPipeline(DomainModel, table=True): queued_duration_sec: Optional[float] type: Optional[CICDType] - environment: Optional[CICDEnvironment] + environment: Optional[str] class CiCDPipelineCommit(NoPKModel, table=True): @@ -100,7 +100,7 @@ class CICDTask(DomainModel, table=True): original_result: Optional[str] type: Optional[CICDType] - environment: Optional[CICDEnvironment] + environment: Optional[str] created_date: Optional[datetime] queued_date: Optional[datetime]