class_docstr: What comes back due to a `Request`.
class_docstr_tok: ["What","comes","back","due","to","a","`","Request","`","."]
code: def render_lines(self) -> List[str]:
      output = [
          f"success: {self.success}",
          f"cached: {self.cached}",
      ]
      if self.request_time:
          output.append(f"request_time: {self.request_time}")
      if self.request_datetime:
          output.append(f"request_datetime: {self.request_datetime}")
      if self.error:
          output.append(f"error: {self.error}")
  
      output.append("completions {")
      for completion in self.completions:
          output.extend(indent_lines(completion.render_lines()))
      output.append("}")
  
      return output
  
file_path: H2O/h2o_hf/helm/src/helm/common/request.py
imports: from dataclasses import dataclass, field
  from typing import List, Optional, Dict
  from helm.proxy.models import Model, get_model
  from .general import indent_lines, format_text
label_desc: Use image node_id 1 for calling the RequestResult obj's underlying member method code with example usage: obj.render_lines() and returns: output