always equal proxy

This commit is contained in:
RyanOnTheInside
2025-04-26 10:27:53 -04:00
parent bd48e4542e
commit 55a8b8d267
+13
View File
@@ -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