code: def execute():
      """Execute a simple pipeline as an example."""
      # 1. Receive inputs as you want
      parser = argparse.ArgumentParser()
      parser.add_argument("--config", required=True)
      inputs = parser.parse_args()
  
      with open(inputs.config) as f:
          config = yaml.safe_load(f)
  
      # 2. Perform computations
      y, dy = function(config["x"])
  
      # 3. Gather and report results
      results = list()
      results.append(
          dict(name="example_objective", type="objective", value=y)
      )
      results.append(
          dict(name="example_gradient", type="gradient", value=[dy])
      )
  
      report_results(results)
  
imports: import argparse
  import yaml
  from orion.client import report_results
label_desc: Use image node_id 2 for calling a global function with example usage: execute() without return types