This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch fix#7453
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/fix#7453 by this push:
new be074a248 fix: missing required value for field display_title
be074a248 is described below
commit be074a248f6abdbbe9de2ba0079c99b3e12b676a
Author: abeizn <[email protected]>
AuthorDate: Mon May 13 10:34:30 2024 +0800
fix: missing required value for field display_title
---
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):