def task(self) -> Tuple[str, Any]:
        """Return the scenario's task configuration as a tuple.

        :raises MultipleTaskDefinitions:
            if there is more than one task config under the 'scenario' key.
        """
        try:
            items, = self.configuration.items()
        except ValueError:
            raise MultipleTaskDefinitions(
                'Multiple tasks defined in scenario configuration!',
            )
        return items
Return the scenario's task configuration as a tuple.

        :raises MultipleTaskDefinitions:
            if there is more than one task config under the 'scenario' key.