def init_api(self, api, **kwargs):
        options = load_options(DEFAULT_OPTIONS, api.app, self._options, kwargs)
        assert options["fn_user_role"] is not None, "fn_user_role is required"
        self.__dict__.update(options)

        if not os.path.isabs(self.resource_json):
            self.resource_json = os.path.join(
                api.app.root_path, self.resource_json)
        if not os.path.isabs(self.permission_json):
            self.permission_json = os.path.join(
                api.app.root_path, self.permission_json)
        self.resource, self.permission = load_config(
            self.resource_json, self.permission_json)
        self.config = parse_config(self.resource, self.permission)
        api.auth = self
        api.before_request(self._before_request)
Override this.
dataset/ETHPy150Open guyskk/flask-restaction/flask_restaction/auth.py/Auth.init_api--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_stateful.py/MyInt32StringReceiver.stringReceived