code: def task_schema(save):
      "generate component_desc task config json schema"
      from fate.components.core.spec.task import TaskConfigSpec
  
      if save:
          save.write(TaskConfigSpec.schema_json())
      else:
          print(TaskConfigSpec.schema_json())
  
label_desc: Use image node_id 1 for calling a global function with example usage: task_schema(save) without return types