This is an automated email from the ASF dual-hosted git repository.
hez pushed a commit to branch release-v0.17
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.17 by this push:
new 5e346fa2b fix: Build.result must be optional (#5338)
5e346fa2b is described below
commit 5e346fa2b492ee1061e1ca83170b2f357f1c864a
Author: Camille Teruel <[email protected]>
AuthorDate: Thu Jun 1 07:45:41 2023 +0200
fix: Build.result must be optional (#5338)
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 5c656afd1..227da24f0 100644
--- a/backend/python/plugins/azuredevops/azuredevops/models.py
+++ b/backend/python/plugins/azuredevops/azuredevops/models.py
@@ -105,7 +105,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