class_docstr: A class to organize all history-related functionality in one place.
      
class_docstr_tok: ["A","class","to","organize","all","history-related","functionality","in","one","place","."]
docstr: Give the current session a name in the history database.
docstr_tok: ["Give","the","current","session","a","name","in","the","history","database","."]
code: def name_session(self, name):
      """Give the current session a name in the history database."""
      with self.db:
          self.db.execute(
              "UPDATE sessions SET remark=? WHERE session==?",
              (name, self.session_number),
          )
  
imports: import atexit
  import datetime
  from pathlib import Path
  import re
  import sqlite3
  import threading
  from traitlets.config.configurable import LoggingConfigurable
  from decorator import decorator
  from IPython.utils.decorators import undoc
  from IPython.paths import locate_profile
  from traitlets import Any, Bool, Dict, Instance, Integer, List, Unicode, Union, TraitError, default, observe
label_desc: Use image node_id 6 for calling the HistoryManager obj's underlying member method code with example usage: obj.name_session(name) without return types