{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / history / HistoryAccessor / __init__

function

IPython.core.history:HistoryAccessor.__init__

source: /dev/ipython/IPython/core/history.py:348

Signature

def __init__(self, profile: str = default, hist_file: str = '', **traits: typing.Any) → None

Summary

Create a new history accessor.

Parameters

profile : str

The name of the profile from which to open history.

hist_file : str

Path to an SQLite history database stored by IPython. If specified, hist_file overrides profile.

config : :class:`~traitlets.config.loader.Config`

Config object. hist_file can also be set through this.

Aliases

  • IPython.core.history.HistoryAccessor.__init__