MCPcopy Index your code
hub / github.com/ipython/ipython / _writeout_output_cache

Method _writeout_output_cache

IPython/core/history.py:1058–1064  ·  view source on GitHub ↗
(self, conn: sqlite3.Connection)

Source from the content-addressed store, hash-verified

1056 )
1057
1058 def _writeout_output_cache(self, conn: sqlite3.Connection) -> None:
1059 with conn:
1060 for line in self.db_output_cache:
1061 conn.execute(
1062 "INSERT INTO output_history VALUES (?, ?, ?)",
1063 (self.session_number,) + line,
1064 )
1065
1066 @only_when_enabled
1067 def writeout_cache(self, conn: Optional[sqlite3.Connection] = None) -> None:

Callers 1

writeout_cacheMethod · 0.95

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected