Python API allowed to make links with input->output reversed. Now node api checks for this case and flips order.