code: def get_fn(import_path):
      mod, fn = import_path.rsplit(".", 1)
      return getattr(importlib.import_module(mod), fn)
  
imports: import functools
  import importlib
  from inspect import Parameter, signature
  from typing import ClassVar, List
  import libcst
  import libcst.matchers
  from libcst.codemod import VisitorBasedCodemodCommand
label_desc: Use image node_id 3 for calling a global function with example usage: get_fn(import_path) and returns: getattr