Fix Parameter node type comparison for workflow validation

This commit is contained in:
Acly
2024-10-21 15:11:01 +02:00
parent ef5ccfa98f
commit 63ab33800e
+3
View File
@@ -132,6 +132,9 @@ class _BasicTypes(str):
def __eq__(self, other):
return other in self.basic_types or isinstance(other, (list, _BasicTypes))
def __ne__(self, other):
return not self.__eq__(other)
def __str__(self):
return "BASIC"