diff --git a/gcloud/apigw/forms/get_task_list.py b/gcloud/apigw/forms/get_task_list.py index 65175e3a13..f7e54ae959 100644 --- a/gcloud/apigw/forms/get_task_list.py +++ b/gcloud/apigw/forms/get_task_list.py @@ -19,3 +19,4 @@ class GetTaskListForm(forms.Form): is_finished = forms.BooleanField(required=False) keyword = forms.CharField(required=False) executor = forms.CharField(required=False) + create_method = forms.CharField(required=False) diff --git a/gcloud/apigw/views/get_task_list.py b/gcloud/apigw/views/get_task_list.py index 5115d842e1..f6df51ebd4 100644 --- a/gcloud/apigw/views/get_task_list.py +++ b/gcloud/apigw/views/get_task_list.py @@ -44,6 +44,7 @@ def get_task_list(request, project_id): "is_started": "pipeline_instance__is_started", "is_finished": "pipeline_instance__is_finished", "executor": "pipeline_instance__executor", + "create_method": "create_method", } filter_kwargs = dict(is_deleted=Value(0), project_id=project.id) for param, filter_key in param_mappings.items():