MCPcopy Create free account
hub / github.com/ipython/ipython / _get_hist_file_name

Method _get_hist_file_name

IPython/core/history.py:553–559  ·  view source on GitHub ↗

Get default history file name based on the Shell's profile. The profile parameter is ignored, but must exist for compatibility with the parent class.

(self, profile=None)

Source from the content-addressed store, hash-verified

551 self.save_thread.start()
552
553 def _get_hist_file_name(self, profile=None):
554 """Get default history file name based on the Shell's profile.
555
556 The profile parameter is ignored, but must exist for compatibility with
557 the parent class."""
558 profile_dir = self.shell.profile_dir.location
559 return os.path.join(profile_dir, 'history.sqlite')
560
561 @needs_sqlite
562 def new_session(self, conn=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected