deeppavlov/core/agent/rich_content.py
def json(self) -> list:
        """Returns list of json compatible states of the RichMessage instance
        nested controls.

        Returns:
            json_controls: Json representation of RichMessage instance
                nested controls.
        """
        json_controls = [control.json() for control in self.controls]
        return json_controls
def json(self) -> list:
        """Returns list of json compatible states of the RichMessage instance
        nested controls.

        Returns:
            json_controls: Json representation of RichMessage instance
                nested controls.
        """
        json_controls = [control.json() for control in self.controls]
        return json_controls
Returns list of json compatible states of the RichMessage instance
        nested controls.

        Returns:
            json_controls: Json representation of RichMessage instance
                nested controls.