diff --git a/src/utils/general.py b/src/utils/general.py new file mode 100644 index 0000000..e911761 --- /dev/null +++ b/src/utils/general.py @@ -0,0 +1,13 @@ +""" +General utilities for ComfyUI RealTimeNodes. +""" + +class AlwaysEqualProxy(str): + """Helper class to allow connecting multiple specific input types to a single input node. + Originally borrowed from https://github.com/theUpsider/ComfyUI-Logic + """ + def __eq__(self, _): + return True + + def __ne__(self, _): + return False \ No newline at end of file