class_docstr: Default prompt. This one shows the 'arg' and reverse search like
  Bash/readline normally do.
  
  There are two ways to instantiate a ``DefaultPrompt``. For a prompt
  with a static message, do for instance::
  
      prompt = DefaultPrompt.from_message('prompt> ')
  
  For a dynamic prompt, generated from a token list function::
  
      def get_tokens(cli):
          return [(Token.A, 'text'), (Token.B, 'text2')]
  
      prompt = DefaultPrompt(get_tokens)
docstr: Create a default prompt with a static message text.
docstr_tok: ["Create","a","default","prompt","with","a","static","message","text","."]
code: def from_message(cls, message="> "):
      """
      Create a default prompt with a static message text.
      """
      assert isinstance(message, text_type)
  
      def get_message_tokens(cli):
          return [(Token.Prompt, message)]
  
      return cls(get_message_tokens)
  
file_path: catboost/contrib/python/prompt-toolkit/py2/prompt_toolkit/layout/prompt.py
imports: from __future__ import unicode_literals
  from six import text_type
  from prompt_toolkit.enums import IncrementalSearchDirection, SEARCH_BUFFER
  from prompt_toolkit.token import Token
  from .utils import token_list_len
  from .processors import Processor, Transformation
label_desc: Use image node_id 2 for calling the DefaultPrompt obj's underlying member method code with example usage: obj.from_message(cls, message) and returns: cls, list