app.blueprints.roles.RolesSearchResource.as_view
- classmethod RolesSearchResource.as_view(name: str, *class_args: Any, **class_kwargs: Any) Callable
Converts the class into an actual view function that can be used with the routing system. Internally this generates a function on the fly which will instantiate the
View
on each request and call thedispatch_request()
method on it.The arguments passed to
as_view()
are forwarded to the constructor of the class.