MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / __init__

Method __init__

bmtools/tools/database/utils/database.py:59–63  ·  view source on GitHub ↗
(self, args, timeout=-1)

Source from the content-addressed store, hash-verified

57
58class Database():
59 def __init__(self, args, timeout=-1):
60 self.args = args
61 self.conn = self.resetConn(timeout)
62
63 # self.schema = self.compute_table_schema()
64
65 def resetConn(self, timeout=-1):
66 if self.args.dbtype == 'mysql':

Callers

nothing calls this directly

Calls 1

resetConnMethod · 0.95

Tested by

no test coverage detected