code: def _id_to_task_data(t_id):
      t_id = _preprocess(t_id)
      if t_id in tasks:
          # return the task assoicated with this task id
          return tasks[t_id]
      elif t_id in tags:
          # return the list of tasks for this tag
          return tags[t_id]
      else:
          # should already be in task form
          raise RuntimeError("could not find tag/task id")
  
imports: from .task_list import task_list
  from collections import defaultdict
label_desc: Use image node_id 3 for calling a global function with example usage: _id_to_task_data(t_id) and returns: tasks, tags