def Layout(self, request, response):
    """Introspect the Schema for flow objects."""
    try:
      self.state["flow"] = session_id = request.REQ["flow"]
      self.fd = aff4.FACTORY.Open(session_id, token=request.token,
                                  age=aff4.ALL_TIMES)
      self.classes = self.RenderAFF4Attributes(self.fd, request)
      self.path = self.fd.urn
    except (__HOLE__, IOError):
      self.path = None

    # Skip our parent's Layout method and install parent's javascript code.
    response = super(fileview.AFF4Stats, self).Layout(request, response)
    return self.CallJavascript(response, "AFF4Stats.Layout",
                               historical_renderer=self.historical_renderer,
                               historical_renderer_state=self.state)
dataset/ETHPy150Open google/grr/grr/gui/plugins/flow_management.py/ShowFlowInformation.Layout