def get_load(jid):
    '''
    Included for API consistency
    '''
    options = _get_options(ret=None)
    _response = _request("GET", options['url'] + options['db'] + '/' + jid)
    if 'error' in _response:
        log.error('Unable to get JID "%s" : "%s"', jid, _response)
        return {}
    return {_response['id']: _response}
def get_load ( jid ) : options = _get_options ( ret = None ) _response = _request ( "GET" , options [ 'url' ] + options [ 'db' ] + '/' + jid ) if 'error' in _response : log . error ( 'Unable to get JID "%s" : "%s"' , jid , _response ) return { } return { _response [ 'id' ] : _response }
Included for API consistency