def __add_class_views(self):
config = self.config<EOL>if "<STR_LIT>" in self.kwargs:<EOL><INDENT>class_views = self.kwargs.pop("<STR_LIT>")<EOL>for route, view in class_views:<EOL><INDENT>if issubclass(view, endpoints.BaseEndpoint) and isinstance(<EOL>route, str<EOL>):<EOL><INDENT>self.bp.add_route(<EOL>view.as_view(<EOL>self.responses,<EOL>config=self.config,<EOL>instance=self.instance,<EOL>),<EOL>route,<EOL>strict_slashes=config.strict_slashes(),<EOL>)<EOL><DEDENT>else:<EOL><INDENT>raise exceptions.InvalidClassViewsFormat()<EOL><DEDENT><DEDENT><DEDENT>
Include any custom class views on the Sanic JWT Blueprint