code: def report_objective(objective, name="objective"):
      """Report only the objective at the end of execution
  
      To send more data (statistic, constraint, gradient), use ``report_results``.
  
      .. warning::
  
         To be called only once in order to report a final evaluation of a particular trial.
  
      .. warning::
  
         Oríon is only minimizing. Make sure to report a metric that you seek to minimize.
  
      .. note::
  
         In case that user's script is not running in a orion's context,
         this function will act as a Python `print` function.
  
      Parameters
      ----------
      objective: float
          Objective the return to Oríon for the current trial.
      name: str, optional
          Name of the objective. Default is 'objective'.
  
      """
      report_results(
          [dict(name=name, type="objective", value=objective)]
      )
  
imports: import os
  import sys
  from orion.core import config
label_desc: Use image node_id 2 for calling a global function with example usage: report_objective(objective, name) without return types