BRANCH 4.1: added client api mappings to get_input_tasks and get_output_tasks in both javascript and python