code: def get_callable(import_string: str) -> Callable:
      """Import a callable from an string."""
      callable_seperator = ":"
      if callable_seperator not in import_string:
          # Use dot as seperator
          callable_seperator = "."
  
      if callable_seperator not in import_string:
          raise ValueError(
              "The callable path MUST specify the function. "
          )
  
      mod_name, callable_name = import_string.rsplit(
          callable_seperator, 1
      )
      mod = importlib.import_module(mod_name)
      return getattr(mod, callable_name)
  
file_path: opyrator/src/opyrator/core.py
imports: import importlib
  import inspect
  import re
  from typing import Any, Callable, Type, Union, get_type_hints
  from pydantic import BaseModel, parse_raw_as
  from pydantic.tools import parse_obj_as
label_desc: Use image node_id 5 for calling a global function with example usage: get_callable(import_string) and returns: getattr