def patch_resource(url, body):
    """
    Patch resource with the given json body
    :returns: http response data
    """
    response = Bridge_DAO().patchURL(url, PHEADER, body)
    log_data = "PATCH %s %s ==status==> %s" % (url, body, response.status)

    if response.status != 200:
        _raise_exception(log_data, url, response)

    _log_resp(log_data, response.data)
    return response.data
def patch_resource ( url , body ) : response = Bridge_DAO ( ) . patchURL ( url , PHEADER , body ) log_data = "PATCH %s %s ==status==> %s" % ( url , body , response . status ) if response . status != 200 : _raise_exception ( log_data , url , response ) _log_resp ( log_data , response . data ) return response . data
Patch resource with the given json body
    :returns: http response data