Skip to content

Commit

Permalink
fix: get_task_list 支持周期任务筛选执行历史 --story=121432122 (#7663)
Browse files Browse the repository at this point in the history
* fix: get_task_list 支持周期任务筛选执行历史 --story=121432122

* fix: 删除冗余返回字段 --story=121432122
  • Loading branch information
guohelu authored Jan 14, 2025
1 parent 4a34570 commit 758cf26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gcloud/apigw/forms/get_task_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ class GetTaskListForm(forms.Form):
create_method = forms.CharField(required=False)
template_id = forms.CharField(required=False)
without_count = forms.BooleanField(required=False)
create_info = forms.CharField(required=False)
template_source = forms.CharField(required=False)
2 changes: 2 additions & 0 deletions gcloud/apigw/views/get_task_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def get_task_list(request, project_id):
"executor": "pipeline_instance__executor",
"create_method": "create_method",
"template_id": "template_id",
"create_info": "create_info",
"template_source": "template_source",
}
filter_kwargs = dict(is_deleted=Value(0), project_id=project.id)
for param, filter_key in param_mappings.items():
Expand Down

0 comments on commit 758cf26

Please sign in to comment.