code: def get_task_param_string(task):
      
      # get dict str -> str from luigi
      param_dict = task.to_str_params()
  
      # sort keys, serialize
      items = []
      for key in sorted(param_dict.keys()):
          items.append("'{:s}': '{:s}'".format(key, param_dict[key]))
  
      return "{" + ", ".join(items) + "}"
docs: Get all parameters of a task as one string
  
      Returns:
          str: task parameter string