parameters: (self)
docstring: Handles the 'file' command.
  
              Sets return_view, which will cause read_file_view to be rendered
              as the response. A custom read_file_view can be given when
              initialising the connector.
docstring_summary: Handles the 'file' command.
docstring_tokens: Handles the file command .
function: def __file(self):
          """ Handles the 'file' command.
  
              Sets return_view, which will cause read_file_view to be rendered
              as the response. A custom read_file_view can be given when
              initialising the connector.
          """
          target = self.data['target']
          download = self.data.get("download", False)
          volume = self.get_volume(target)
  
          # A file was requested, so set return_view to the read_file view.
          #self.return_view = self.read_file_view(self.request, volume, target)
          self.return_view = volume.read_file_view(self.request, target, download=download)
function_tokens: def __file ( self ) : target = self . data [ 'target' ] download = self . data . get ( "download" , False ) volume = self . get_volume ( target ) # A file was requested, so set return_view to the read_file view. #self.return_view = self.read_file_view(self.request, volume, target) self . return_view = volume . read_file_view ( self . request , target , download = download )