mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-20 21:57:05 +08:00
feat: ✨ add support for "*" output types
effectively skipping type checking. There are already trick to do the same for inputs using `kwargs`. There are probably implications I haven't fully thought about and I didn't test it extensively myself
This commit is contained in:
parent
b1fd26fe9e
commit
73b9096e68
@ -454,7 +454,7 @@ def validate_inputs(prompt, item, validated):
|
|||||||
o_id = val[0]
|
o_id = val[0]
|
||||||
o_class_type = prompt[o_id]['class_type']
|
o_class_type = prompt[o_id]['class_type']
|
||||||
r = nodes.NODE_CLASS_MAPPINGS[o_class_type].RETURN_TYPES
|
r = nodes.NODE_CLASS_MAPPINGS[o_class_type].RETURN_TYPES
|
||||||
if r[val[1]] != type_input:
|
if r[val[1]] != "*" and r[val[1]] != type_input:
|
||||||
received_type = r[val[1]]
|
received_type = r[val[1]]
|
||||||
details = f"{x}, {received_type} != {type_input}"
|
details = f"{x}, {received_type} != {type_input}"
|
||||||
error = {
|
error = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user