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

Method _writeout_output_cache

IPython/core/history.py:766–770  ·  view source on GitHub ↗
(self, conn)

Source from the content-addressed store, hash-verified

764 (self.session_number,)+line)
765
766 def _writeout_output_cache(self, conn):
767 with conn:
768 for line in self.db_output_cache:
769 conn.execute("INSERT INTO output_history VALUES (?, ?, ?)",
770 (self.session_number,)+line)
771
772 @needs_sqlite
773 def writeout_cache(self, conn=None):

Callers 1

writeout_cacheMethod · 0.95

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected