code: def import_by_path(path: str) -> Callable:
      
  
      module_path, _, class_name = path.rpartition('.')
      return getattr(import_module(module_path), class_name)
docs: Import a class or function given it's absolute path.
  
      Parameters
      ----------
      path:
        Path to object to import