def prepare(request):
    """
    Transitions the execution to prepare the given request.

    This will prompt the execution of any RequestTemplate.before_request.

    Args:
        request: The intended request data to be sent.
    """

    def action(state):
        return state.prepare(request)

    return action