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

Method _writeout_input_cache

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

Source from the content-addressed store, hash-verified

758 self.save_flag.set()
759
760 def _writeout_input_cache(self, conn):
761 with conn:
762 for line in self.db_input_cache:
763 conn.execute("INSERT INTO history VALUES (?, ?, ?, ?)",
764 (self.session_number,)+line)
765
766 def _writeout_output_cache(self, conn):
767 with conn:

Callers 1

writeout_cacheMethod · 0.95

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected