From 124aa9db08f90a3fb8900dfed35ce1f018678520 Mon Sep 17 00:00:00 2001 From: takatost Date: Tue, 27 Feb 2024 21:39:20 +0800 Subject: [PATCH] lint fix --- api/controllers/console/app/workflow_run.py | 7 +++++-- api/services/workflow_run_service.py | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/api/controllers/console/app/workflow_run.py b/api/controllers/console/app/workflow_run.py index 38e3d4d837..8a4c0492a1 100644 --- a/api/controllers/console/app/workflow_run.py +++ b/api/controllers/console/app/workflow_run.py @@ -5,8 +5,11 @@ from controllers.console import api from controllers.console.app.wraps import get_app_model from controllers.console.setup import setup_required from controllers.console.wraps import account_initialization_required -from fields.workflow_run_fields import workflow_run_detail_fields, workflow_run_pagination_fields, \ - workflow_run_node_execution_list_fields +from fields.workflow_run_fields import ( + workflow_run_detail_fields, + workflow_run_node_execution_list_fields, + workflow_run_pagination_fields, +) from libs.helper import uuid_value from libs.login import login_required from models.model import App, AppMode diff --git a/api/services/workflow_run_service.py b/api/services/workflow_run_service.py index 9c898f10fb..70ce1f2ce0 100644 --- a/api/services/workflow_run_service.py +++ b/api/services/workflow_run_service.py @@ -1,8 +1,12 @@ from extensions.ext_database import db from libs.infinite_scroll_pagination import InfiniteScrollPagination from models.model import App -from models.workflow import WorkflowRun, WorkflowRunTriggeredFrom, WorkflowNodeExecution, \ - WorkflowNodeExecutionTriggeredFrom +from models.workflow import ( + WorkflowNodeExecution, + WorkflowNodeExecutionTriggeredFrom, + WorkflowRun, + WorkflowRunTriggeredFrom, +) class WorkflowRunService: