libraries/botbuilder-dialogs/botbuilder/dialogs/component_dialog.py
def add_dialog(self, dialog: Dialog) -> object:
        """
        Adds a dialog to the component dialog.
        Adding a new dialog will inherit the BotTelemetryClient of the ComponentDialog.
        :param dialog: The dialog to add.
        :return: The updated ComponentDialog
        """
        self._dialogs.add(dialog)
        if not self.initial_dialog_id:
            self.initial_dialog_id = dialog.id
        return self
def add_dialog(self, dialog: Dialog) -> object:
        """
        Adds a dialog to the component dialog.
        Adding a new dialog will inherit the BotTelemetryClient of the ComponentDialog.
        :param dialog: The dialog to add.
        :return: The updated ComponentDialog
        """
        self._dialogs.add(dialog)
        if not self.initial_dialog_id:
            self.initial_dialog_id = dialog.id
        return self
Adds a dialog to the component dialog.
        Adding a new dialog will inherit the BotTelemetryClient of the ComponentDialog.
        :param dialog: The dialog to add.
        :return: The updated ComponentDialog