full-evening-87657
02/01/2024, 10:02 AM#task1 and task2 type is flyteidl.admin.task_pb2.Task
type1 = task1.closure.compiled_task.template.interface.outputs.variables['output_1_task_1].type
type2 = task2.closure.compiled_task.template.interface.inputs.variables['input_1_task_2].type
if type1 == type2:
return True
else:
return False
is this condition good enough for all type, set of types. Include hard case such as TypeTransform, Simple Schema, ...?glamorous-carpet-83516
02/05/2024, 6:49 AMglamorous-carpet-83516
02/05/2024, 6:49 AMfull-evening-87657
02/05/2024, 6:52 AMfull-evening-87657
02/05/2024, 7:00 AMglamorous-carpet-83516
02/05/2024, 7:02 AM