always equal proxy
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user