def METHOD_NAME(self, raw=True, output=False, hist_access_type='range', **kwds):
    content = dict(raw=raw, output=output,
                   hist_access_type=hist_access_type, **kwds)
    msg = self.session.msg('history_request', content)
    self._dispatch_to_kernel(msg)
    return msg['header']['msg_id']