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

Method connect

db.py:22–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 return f"<SQLite3 Database: {self.db_fp}>"
21
22 def connect(self):
23 self.conn = sqlite3.connect(self.db_fp)
24 self.cur = self.conn.cursor()
25
26 def create_tables(self):
27 self.cur.execute('CREATE TABLE IF NOT EXISTS programm_settings(setting TEXT NOT NULL, status BOOLEAN NOT NULL)')

Callers 12

__init__Method · 0.95
resetMethod · 0.95
__init__Method · 0.80
scan_btn_startMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected