code: def find_resource_class(resource_path):
      
      class_path = ResourceTypes[resource_path]
      # First prepend our __name__ to the resource string passed in.
      full_path = '.'.join([__name__, class_path])
      class_data = full_path.split(".")
      module_path = ".".join(class_data[:-1])
      class_str = class_data[-1]
      module = importlib.import_module(module_path)
      # Finally, we retrieve the Class
      return getattr(module, class_str)
docs: dynamically load a class from a string