-
I've dug around the code and can't really find an authoritative source for input types. I had a custom node that had an input type of It's worked fine for the last year. But a recent change (some time in the last 30-90 days) now causes the console to throw:
I've tried setting the input to How can I tell ComfyUI that I want to accept anything under the sun as input? Also...I think it would be good to have a list of common standard input types that are generally accepted. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
"*" was never actually allowed. If it worked, it was likely in a blind spot of the validation. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the pointer @ltdrdata. I was able to get things working! |
Beta Was this translation helpful? Give feedback.
"*" was never actually allowed. If it worked, it was likely in a blind spot of the validation.
To bypass this, custom node developers are using the
any_typ
trick.https://github.com/ltdrdata/ComfyUI-Inspire-Pack/blob/25ae8d522f781f694bf736f87945f2291da531b4/inspire/libs/utils.py#L214
https://github.com/ltdrdata/ComfyUI-Inspire-Pack/blob/25ae8d522f781f694bf736f87945f2291da531b4/inspire/backend_support.py#L110
https://github.com/ltdrdata/ComfyUI-Inspire-Pack/blob/25ae8d522f781f694bf736f87945f2291da531b4/inspire/prompt_support.py#L716