MCPcopy Create free account
hub / github.com/Syncplay/syncplay / connect

Method connect

syncplay/server.py:389–391  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

387 self._connection.close()
388
389 def connect(self):
390 self._connection = adbapi.ConnectionPool("sqlite3", self._dbPath, check_same_thread=False)
391 self._createSchema().addCallback(self.loadRooms)
392
393 def _createSchema(self):
394 initQuery = 'create table if not exists persistent_rooms (name STRING PRIMARY KEY, playlist STRING, playlistIndex INTEGER, position REAL, lastSavedUpdate INTEGER)'

Callers 15

startRecorderMethod · 0.45
startRecorderMethod · 0.45
__init__Method · 0.45
clientConnectionLostMethod · 0.45
runMethod · 0.45
openRoomsDialogMethod · 0.45
loadValuesMethod · 0.45
connectChildrenMethod · 0.45
addBasicTabMethod · 0.45
addChatTabMethod · 0.45
addMessageTabMethod · 0.45
addBottomLayoutMethod · 0.45

Calls 1

_createSchemaMethod · 0.95

Tested by

no test coverage detected