From 2a127e361eafb88eda1cba31a858c48e5c345020 Mon Sep 17 00:00:00 2001 From: "Alexander G. Morano" Date: Tue, 13 May 2025 22:49:14 -0400 Subject: [PATCH] Update execution.py patch to parse widget values not just input values. When widgets serialize as list on the JS side, they would never get converted back to list types (only if their input slot was connected to a value). This allows inputs/widget values to serialize to a proper list (i.e. convert if the value is dict with a {"value"} entry) just like inputs. --- execution.py | 1 - 1 file changed, 1 deletion(-) diff --git a/execution.py b/execution.py index c48b63ef2..6cca154e6 100644 --- a/execution.py +++ b/execution.py @@ -115,7 +115,6 @@ def get_input_data(inputs, class_def, unique_id, outputs=None, dynprompt=None, e # patch to parse widget values not just input values if isinstance(input_data, dict) and "__value__" in input_data: input_data = input_data["__value__"] - def mark_missing(): missing_keys[x] = True input_data_all[x] = (None,)