From dba493ee59f3703c4a0fa03a9180a7299ae15206 Mon Sep 17 00:00:00 2001 From: Jairo Correa Date: Thu, 21 Sep 2023 04:04:08 -0300 Subject: [PATCH] Fix validation for generic type --- execution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/execution.py b/execution.py index 5f5d6c738..d994f1d13 100644 --- a/execution.py +++ b/execution.py @@ -433,7 +433,7 @@ def validate_inputs(prompt, item, validated): o_id = val[0] o_class_type = prompt[o_id]['class_type'] r = nodes.NODE_CLASS_MAPPINGS[o_class_type].RETURN_TYPES - if r[val[1]] != type_input: + if r[val[1]] != type_input and r[val[1]] != "*" and type_input != "*": received_type = r[val[1]] details = f"{x}, {received_type} != {type_input}" error = {