code: def task(self) -> Tuple[str, Any]:
          
          try:
              items, = self.configuration.items()
          except ValueError:
              raise MultipleTaskDefinitions(
                  'Multiple tasks defined in scenario configuration!',
              )
          return items
docs: Return the scenario's task configuration as a tuple.
  
          :raises MultipleTaskDefinitions:
              if there is more than one task config under the 'scenario' key.