You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.3.0 / IPython / core / history / HistoryAccessor / __init__

function

IPython.core.history:HistoryAccessor.__init__

source: /IPython/core/history.py :270

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__