def get_task(task_id): mc = MetaController() task_report = mc.read_task(task_id) if task_report is not None: return change_date_to_str(task_report) else: return add_error({}, 8, "Task not found")
def load_task(task_id): mc = MetaController() return mc.read_task(task_id)
def load_task(task_id): mc = MetaController() return mc.read_task(task_id)