code: def get_summary(self):
          
          return {
              "count": self.count(),
              "pass": self.success_count(),
              "fail": self.failure_count(),
              "skip": self.skip_count(),
              "inconclusive": self.inconclusive_count(),
              "retries": self.retry_count(),
              "duration": self.total_duration()
          }
docs: Get a summary of this ResultLists contents as dictionary.
  
          :return: dictionary