rasa/core/training/interactive.py
async def _ask_questions(
    questions: Union[Form, Question],
    sender_id: Text,
    endpoint: EndpointConfig,
    is_abort: Callable[[Dict[Text, Any]], bool] = lambda x: False
) -> Any:
    """Ask the user a question, if Ctrl-C is pressed provide user with menu."""

    should_retry = True
    answers = {}

    while should_retry:
        answers = questions.ask()
        if answers is None or is_abort(answers):
            should_retry = await _ask_if_quit(sender_id, endpoint)
        else:
            should_retry = False
    return answers
Ask the user a question, if Ctrl-C is pressed provide user with menu.
Ask the user a question, if Ctrl-C is pressed provide user with menu.
Ask the user a question if Ctrl - C is pressed provide user with menu .
async def _ask_questions(
    questions: Union[Form, Question],
    sender_id: Text,
    endpoint: EndpointConfig,
    is_abort: Callable[[Dict[Text, Any]], bool] = lambda x: False
) -> Any:
    should_retry = True
    answers = {}
    while should_retry:
        answers = questions.ask()
        if answers is None or is_abort(answers):
            should_retry = await _ask_if_quit(sender_id, endpoint)
        else:
            should_retry = False
    return answers
async def _ask_questions ( questions : Union [ Form , Question ] , sender_id : Text , endpoint : EndpointConfig , is_abort : Callable [ [ Dict [ Text , Any ] ] , bool ] = lambda x : False ) -> Any : should_retry = True answers = { } while should_retry : answers = questions . ask ( ) if answers is None or is_abort ( answers ) : should_retry = await _ask_if_quit ( sender_id , endpoint ) else : should_retry = False return answers
Ask the user a question, if Ctrl-C is pressed provide user with menu.
Ask the user a question if Ctrl - C is pressed provide user with menu .
"""Ask the user a question, if Ctrl-C is pressed provide user with menu."""
questions
Union[Form, Question]
sender_id
Text
endpoint
EndpointConfig
is_abort
Callable[[Dict[Text, Any]], bool]