This is an automated email from the ASF dual-hosted git repository.

hez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 106e22361 fix: Build.result must be optional (#5337)
106e22361 is described below

commit 106e22361632c8eda2a599b45a139184a52ac32a
Author: Camille Teruel <[email protected]>
AuthorDate: Thu Jun 1 07:45:37 2023 +0200

    fix: Build.result must be optional (#5337)
    
    Co-authored-by: Camille Teruel <[email protected]>
---
 backend/python/plugins/azuredevops/azuredevops/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/python/plugins/azuredevops/azuredevops/models.py 
b/backend/python/plugins/azuredevops/azuredevops/models.py
index 3e08ef68b..06be15d3c 100644
--- a/backend/python/plugins/azuredevops/azuredevops/models.py
+++ b/backend/python/plugins/azuredevops/azuredevops/models.py
@@ -98,7 +98,7 @@ class Build(ToolModel, table=True):
     start_time: Optional[datetime.datetime]
     finish_time: Optional[datetime.datetime]
     status: BuildStatus
-    result: BuildResult
+    result: Optional[BuildResult]
     source_branch: str
     source_version: str
 

Reply via email to