def init_app(self, app, storage):
        """
        Initialize the instance with the app.

        :Parameters:
           - `app`: Application to work with.
           - `storage`: The storage callable which will store result.
        """
        self.app = app
        self._storage = storage
        self._use_freegeoip = app.config.get(
            'TRACK_USAGE_USE_FREEGEOIP', False)
        self._freegeoip_endpoint = app.config.get(
            'TRACK_USAGE_FREEGEOIP_ENDPOINT', 'http://freegeoip.net/json/')
        self._type = app.config.get(
            'TRACK_USAGE_INCLUDE_OR_EXCLUDE_VIEWS', 'exclude')

        if ('include', 'exclude') not in self._type:
            raise NotImplementedError(
                'You must set include or exclude type.')
        app.before_request(self.before_request)
        app.after_request(self.after_request)
dataset/ETHPy150Open ashcrow/flask-track-usage/src/flask_track_usage/__init__.py/TrackUsage.init_app/swapped operands of `not in`