def load_handler(self):
        """
        Load the detected handler.
        """

        handler_path = self.handler_name.split(".")
        
        handler_module = __import__(".".join(handler_path[:-1]), {}, {}, str(handler_path[-1]))
        self.handler = getattr(handler_module, handler_path[-1])()
Load the detected handler.