Return the Task class type configured for the scenario.

def task_class(self):
        """Return the Task class type configured for the scenario."""
        from scenario_player.tasks.base import get_task_class_for_type

        root_task_type, _ = self.task

        task_class = get_task_class_for_type(root_task_type)
        return task_class