async def METHOD_NAME(request, *args, **kwargs):
    # type: (Any, *Any, **Any) -> Any
    with hub.configure_scope() as sentry_scope:
        if sentry_scope.profile is not None:
            sentry_scope.profile.update_active_thread_id()
        with hub.start_span(
            op=OP.VIEW_RENDER, description=request.resolver_match.view_name
        ):
            return await callback(request, *args, **kwargs)