code: def get_task_info(objective):
      task_type = objective.split(":")[0]
      return task_type
  
imports: import numpy
  import pandas
  import torch
  from fate.arch.dataframe import DataFrame
  from scipy.special import expit
  from fate.ml.utils.predict_tools import BINARY, MULTI, REGRESSION
label_desc: Use image node_id 2 for calling a global function with example usage: get_task_info(objective) and returns: task_type