code: def import_namespaced_class(path):
      
      parts = path.split('.')
      return getattr(importlib.import_module('.'.join(parts[0:-1])), parts[-1])
docs: Pass in a string in the format of foo.Bar, foo.bar.Baz, foo.bar.baz.Qux
      and it will return a handle to the class
  
      :param str path: The object path
      :rtype: class