code: def _convert_to_ng_name(pyomo_var_key: tp.Any) -> str:
      if isinstance(pyomo_var_key, str):
          return '"' + str(pyomo_var_key) + '"'
      else:
          return str(pyomo_var_key)
  
file_path: nevergrad/nevergrad/functions/pyomo/core.py
imports: from functools import partial
  import numpy
  import pyomo.environ
  import nevergrad.common.typing
  from nevergrad.parametrization import parameter
  from ..None import base
label_desc: Use image node_id 1 for calling a global function with example usage: _convert_to_ng_name(pyomo_var_key) and returns: unknown, str