MCPcopy Create free account
hub / github.com/DIMFLIX/Spectrum-Security / __exit__

Method __exit__

db.py:14–17  ·  view source on GitHub ↗
(self, type, value, traceback)

Source from the content-addressed store, hash-verified

12 return self
13
14 def __exit__(self, type, value, traceback):
15 self.conn.commit()
16 self.cur.close()
17 self.conn.close()
18
19 def __repr__(self):
20 return f"<SQLite3 Database: {self.db_fp}>"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected