ble[..., Coroutine[Any, Any, Union[SessionContainer, None]]]:
    _ = user_context

    async def func(request: Request) -&gt; Union[SessionContainer, None]:
        nonlocal user_context
        base_req = FastApiRequest(request)
        user_context = set_request_in_user_context_if_not_defined(
            user_context, base_req
        )

        recipe = SessionRecipe.get_instance()
        session = await recipe.verify_session(
            base_req,
            anti_csrf_check,
            session_requ