class_docstr: Simple dialog window. This is the base for input dialogs, message dialogs
  and confirmation dialogs.
  
  Changing the title and body of the dialog is possible at runtime by
  assigning to the `body` and `title` attributes of this class.
  
  :param body: Child container object.
  :param title: Text to be displayed in the heading of the dialog.
  :param buttons: A list of `Button` widgets, displayed at the bottom.
class_docstr_tok: ["Simple","dialog","window",".","This","is","the","base","for","input","dialogs",",","message","dialogs","and","confirmation","dialogs",".","Changing","the","title","and","body","of","the","dialog","is","possible","at","runtime","by","assigning","to","the","`","body","`","and","`","title","`","attributes","of","this","class",".",":","param","body",":","Child","container","object",".",":","param","title",":","Text","to","be","displayed","in","the","heading","of","the","dialog",".",":","param","buttons",":","A","list","of","`","Button","`","widgets",",","displayed","at","the","bottom","."]
code: def __pt_container__(self) -> AnyContainer:
      return self.container
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/widgets/dialogs.py
imports: from __future__ import annotations
  from typing import Sequence
  from prompt_toolkit.filters import has_completions, has_focus
  from prompt_toolkit.formatted_text import AnyFormattedText
  from prompt_toolkit.key_binding.bindings.focus import focus_next, focus_previous
  from prompt_toolkit.key_binding.key_bindings import KeyBindings
  from prompt_toolkit.layout.containers import AnyContainer, DynamicContainer, HSplit, VSplit
  from prompt_toolkit.layout.dimension import AnyDimension
  from prompt_toolkit.layout.dimension import Dimension
  from .base import Box, Button, Frame, Shadow
label_desc: Use image node_id 2 for calling the Dialog obj's underlying member method code with example usage: obj.__pt_container__() and returns: self