From 2b6106d57be952f785ef2448e01bf0659c8ec65f Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Wed, 3 Dec 2025 19:00:06 -0800 Subject: [PATCH] Prepare Autogrow's expand_schema_for_dynamic to work with upcoming frontend changes --- comfy_api/latest/_io.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comfy_api/latest/_io.py b/comfy_api/latest/_io.py index dcfa1d89b..cb71df99a 100644 --- a/comfy_api/latest/_io.py +++ b/comfy_api/latest/_io.py @@ -1004,9 +1004,9 @@ class Autogrow(ComfyTypeI): curr_prefix = handle_prefix(curr_prefix, self.id) # need to remove self from expected inputs dictionary; replaced by template inputs in frontend for inner_dict in d.values(): - # TODO: once frontend is ready, replace self.id with finalize_prefix(curr_prefix, self.id) - if self.id in inner_dict: - del inner_dict[self.id] + finalized_id = finalize_prefix(curr_prefix, self.id) + if finalized_id in inner_dict: + del inner_dict[finalized_id] self.template.expand_schema_for_dynamic(d, live_inputs, curr_prefix) @comfytype(io_type="COMFY_DYNAMICCOMBO_V3")