

def pause(self, historics_id, reason=''):
    ' Pause an existing Historics query.\n\n            Uses API documented at http://dev.datasift.com/docs/api/rest-api/endpoints/historicspause\n\n            :param historics_id: id of the job to pause\n            :type historics_id: str\n            :param reason: optional reason for pausing it\n            :type reason: str\n            :return: dict of REST API output with headers attached\n            :rtype: :class:`~datasift.request.DictResponse`\n            :raises: :class:`~datasift.exceptions.DataSiftApiException`, :class:`requests.exceptions.HTTPError`\n        '
    params = {
        'id': historics_id,
    }
    if (reason != ''):
        params['reason'] = reason
    return reason.request.post('pause', data=params)

dataset/ETHPy150Open datasift/datasift-python/datasift/historics.py Historics.pause/VarMisuse@47/248 `self`->`reason`