This is an automated email from the ASF dual-hosted git repository.
lynwee 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 1b8a1877d fix: missing required value for field display_title (#7460)
1b8a1877d is described below
commit 1b8a1877d088d848176f360b57d2e50c7201bc7b
Author: abeizn <[email protected]>
AuthorDate: Mon May 13 11:13:46 2024 +0800
fix: missing required value for field display_title (#7460)
---
backend/python/plugins/azuredevops/azuredevops/models.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/python/plugins/azuredevops/azuredevops/models.py
b/backend/python/plugins/azuredevops/azuredevops/models.py
index 28f7692d8..27c112429 100644
--- a/backend/python/plugins/azuredevops/azuredevops/models.py
+++ b/backend/python/plugins/azuredevops/azuredevops/models.py
@@ -115,8 +115,8 @@ class Build(ToolModel, table=True):
result: Optional[BuildResult]
source_branch: str
source_version: str
- display_title: str = Field(source='/triggerInfo/ci.message')
- url: str = Field(source='/_links/web/href')
+ display_title: Optional[str] = Field(source='/triggerInfo/ci.message')
+ url: Optional[str] = Field(source='/_links/web/href')
class Job(ToolModel, table=True):