code: def _restore_networkx_dispatched(name):
      return getattr(BackendInterface, name)
  
file_path: cugraph/python/nx-cugraph/nx_cugraph/utils/decorators.py
imports: from __future__ import annotations
  from functools import partial, update_wrapper
  from textwrap import dedent
  import networkx
  from networkx.utils.decorators import nodes_or_number, not_implemented_for
  from nx_cugraph.interface import BackendInterface
label_desc: Use image node_id 3 for calling a global function with example usage: _restore_networkx_dispatched(name) and returns: getattr