From 05549ff5fb5673316369a1237344c83ab02a9d1c Mon Sep 17 00:00:00 2001 From: Lynwee Date: Mon, 26 Feb 2024 19:47:22 +0800 Subject: [PATCH] fix(azuredevops): fix unexpected environment field in cicd_tasks and cicd_pipelines (#7022) --- 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]