class_docstr: Stores the results from executing the tasks in an execution plan.
class_docstr_tok: ["Stores","the","results","from","executing","the","tasks","in","an","execution","plan","."]
docstr: Returns true if any of the tasks had an error.
docstr_tok: ["Returns","true","if","any","of","the","tasks","had","an","error","."]
code: def contains_task_errors(self) -> bool:
      """Returns true if any of the tasks had an error."""
      return any(
          [
              len(result.errors) > 0
              for node_id, result in self._results.items()
          ]
      )
  
file_path: metricflow/metricflow/execution/executor.py
imports: from __future__ import annotations
  import logging
  from abc import ABC, abstractmethod
  from collections import OrderedDict
  from typing import Dict
  from metricflow.dag.mf_dag import NodeId
  from metricflow.execution.execution_plan import ExecutionPlan, ExecutionPlanTask, TaskExecutionResult
label_desc: Use image node_id 3 for calling the ExecutionResults obj's underlying member method code with example usage: obj.contains_task_errors() and returns: any