This commit is contained in:
burnettk 2022-10-10 23:06:33 -04:00
parent 45f56a9fd4
commit 39418cea71
1 changed files with 3 additions and 1 deletions

View File

@ -208,7 +208,9 @@ def process_model_update(
"""Process_model_update.""" """Process_model_update."""
body_include_list = ["display_name", "primary_file_name", "primary_process_id"] body_include_list = ["display_name", "primary_file_name", "primary_process_id"]
body_filtered = { 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) process_model = get_process_model(process_model_id, process_group_id)