def _callback(self, security, **kwargs):
        if 'callback' in kwargs:
            callback = kwargs['callback']
        else:
            callback = None
        return functools.partial(self._handle_request, callback)
dataset/ETHPy150Open yinhm/datafeed/datafeed/providers/sina.py/SinaReportFetcher._callback/original