libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_context.py
async def replace_dialog(self, dialog_id: str, options: object = None) -> DialogTurnResult:
        """
        Ends the active dialog and starts a new dialog in its place. This is particularly useful
        for creating loops or redirecting to another dialog.
        :param dialog_id: ID of the dialog to search for.
        :param options: (Optional) additional argument(s) to pass to the new dialog.
        :return:
        """
        # End the current dialog and giving the reason.
        await self.end_active_dialog(DialogReason.ReplaceCalled)

        # Start replacement dialog
        return await self.begin_dialog(dialog_id, options)
async def replace_dialog(self, dialog_id: str, options: object = None) -> DialogTurnResult:
        """
        Ends the active dialog and starts a new dialog in its place. This is particularly useful
        for creating loops or redirecting to another dialog.
        :param dialog_id: ID of the dialog to search for.
        :param options: (Optional) additional argument(s) to pass to the new dialog.
        :return:
        """
        # End the current dialog and giving the reason.
        await self.end_active_dialog(DialogReason.ReplaceCalled)

        # Start replacement dialog
        return await self.begin_dialog(dialog_id, options)
Ends the active dialog and starts a new dialog in its place. This is particularly useful
        for creating loops or redirecting to another dialog.
        :param dialog_id: ID of the dialog to search for.
        :param options: (Optional) additional argument(s) to pass to the new dialog.
        :return: