Files
ryanontheinside-ComfyUI_Rea…/src/utils/general.py
T
2025-04-26 18:12:11 -04:00

16 lines
352 B
Python

"""
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