def add_hooks(app):
    if hook_get_client != app.before_hooks:
        app.before_hooks.append(hook_get_client)

    app.add_error_handler(SoftLayer.SoftLayerAPIError,
                          errors.handle_softlayer_errors)
dataset/ETHPy150Open softlayer/jumpgate/jumpgate/common/sl/__init__.py/add_hooks/operator `not in` -> `!=`