Make sure this PR only has MatchType stuff

This commit is contained in:
Jedrzej Kosinski 2025-11-12 10:55:14 -08:00
parent 581f8fe930
commit 6044679a3c

View File

@ -29,13 +29,6 @@ def validate_node_input(
if received_type == IO.MatchType.io_type or input_type == IO.MatchType.io_type: if received_type == IO.MatchType.io_type or input_type == IO.MatchType.io_type:
return True return True
# If input_type is a Combo, frontend permits a Combo output to be connected,
# but it is defined as a tuple of values with V3 schema.
# This probably should be dealt with sending one thing to the frontend and another to the backend,
# but this will do for now.
if input_type == "COMBO" and isinstance(received_type, tuple):
return True
# Not equal, and not strings # Not equal, and not strings
if not isinstance(received_type, str) or not isinstance(input_type, str): if not isinstance(received_type, str) or not isinstance(input_type, str):
return False return False