code: def build_python_name(prefix, name):
      if isinstance(name, list):
          name = ".".join(name)
      if prefix:
          return "{}.{}".format(prefix, name)
      else:  # predix could be None
          return name
  
file_path: nni/nni/nas/space/pytorch/converter/utils.py
imports: from typing import Optional
  from typing_extensions import TypeGuard
  from nni.nas.space.graph import Cell, GraphModelSpace, Graph, Node, Edge
label_desc: Use image node_id 2 for calling a global function with example usage: build_python_name(prefix, name) and returns: str, name