class_docstr: Base container class, for easier definition of containers. Ensures consistent format
  before being turned into a dataframe row.
  
  Parameters
  ----------
  id : str
      ID used as index.
  name : str
      Full display name.
  class_def : type
      The class used for the model, eg. LogisticRegression.
  is_turbo : bool, default = True
      Should the model be used with 'turbo = True' in compare_models().
  args : dict, default = {} (empty dict)
      The arguments to always pass to constructor when initializing object of class_def class.
  
  Attributes
  ----------
  id : str
      ID used as index.
  name : str
      Full display name.
  class_def : type
      The class used for the model, eg. LogisticRegression.
  is_turbo : bool, default = True
      Should the model be used with 'turbo = True' in compare_models().
  args : dict, default = {} (empty dict)
      The arguments to always pass to constructor when initializing object of class_def class.
docstr: Returns a dictionary of the model properties, to
  be turned into a pandas DataFrame row.
  
  Parameters
  ----------
  internal : bool, default = True
      If True, will return all properties. If False, will only
      return properties intended for the user to see.
  
  Returns
  -------
  dict of str : Any
code: def get_dict(self, internal: bool = True) -> Dict[str, Any]:
      """
      Returns a dictionary of the model properties, to
      be turned into a pandas DataFrame row.
  
      Parameters
      ----------
      internal : bool, default = True
          If True, will return all properties. If False, will only
          return properties intended for the user to see.
  
      Returns
      -------
      dict of str : Any
  
      """
      d = [
          ("ID", self.id),
          ("Name", self.name),
          ("Reference", self.reference),
      ]
  
      if internal:
          d += [
              ("Class", self.class_def),
              ("Args", self.args),
          ]
  
      return dict(d)
  
file_path: pycaret/pycaret/containers/base_container.py
imports: import inspect
  from typing import Any, Dict, Optional
  import pycaret.utils.generic
label_desc: Use image node_id 4 for calling the BaseContainer obj's underlying member method code with example usage: obj.get_dict(internal) and returns: dict