mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-18 02:23:06 +08:00
Prepare Autogrow's expand_schema_for_dynamic to work with upcoming frontend changes
This commit is contained in:
parent
7637be3c16
commit
2b6106d57b
@ -1004,9 +1004,9 @@ class Autogrow(ComfyTypeI):
|
|||||||
curr_prefix = handle_prefix(curr_prefix, self.id)
|
curr_prefix = handle_prefix(curr_prefix, self.id)
|
||||||
# need to remove self from expected inputs dictionary; replaced by template inputs in frontend
|
# need to remove self from expected inputs dictionary; replaced by template inputs in frontend
|
||||||
for inner_dict in d.values():
|
for inner_dict in d.values():
|
||||||
# TODO: once frontend is ready, replace self.id with finalize_prefix(curr_prefix, self.id)
|
finalized_id = finalize_prefix(curr_prefix, self.id)
|
||||||
if self.id in inner_dict:
|
if finalized_id in inner_dict:
|
||||||
del inner_dict[self.id]
|
del inner_dict[finalized_id]
|
||||||
self.template.expand_schema_for_dynamic(d, live_inputs, curr_prefix)
|
self.template.expand_schema_for_dynamic(d, live_inputs, curr_prefix)
|
||||||
|
|
||||||
@comfytype(io_type="COMFY_DYNAMICCOMBO_V3")
|
@comfytype(io_type="COMFY_DYNAMICCOMBO_V3")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user