From 39418cea71f247973562e8f86ca517cbb7166c9f Mon Sep 17 00:00:00 2001 From: burnettk Date: Mon, 10 Oct 2022 23:06:33 -0400 Subject: [PATCH] lint --- src/spiffworkflow_backend/routes/process_api_blueprint.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/spiffworkflow_backend/routes/process_api_blueprint.py b/src/spiffworkflow_backend/routes/process_api_blueprint.py index df7684b1..4057e8c8 100644 --- a/src/spiffworkflow_backend/routes/process_api_blueprint.py +++ b/src/spiffworkflow_backend/routes/process_api_blueprint.py @@ -208,7 +208,9 @@ def process_model_update( """Process_model_update.""" body_include_list = ["display_name", "primary_file_name", "primary_process_id"] body_filtered = { - include_item: body[include_item] for include_item in body_include_list if include_item in body + include_item: body[include_item] + for include_item in body_include_list + if include_item in body } process_model = get_process_model(process_model_id, process_group_id)