MCPcopy Create free account
hub / github.com/MultiChain/multichain-explorer / __init__

Method __init__

Mce/DataStore.py:124–237  ·  view source on GitHub ↗

Open and store a connection to the SQL database. args.dbtype should name a DB-API 2 driver module, e.g., "sqlite3". args.connect_args should be an argument to the module's connect() method, or None for no argument, or a list of arguments, or a dicti

(store, args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

set_dbMethod · 0.80
init_sqlMethod · 0.80
_read_configMethod · 0.80
refresh_ddlMethod · 0.80
_init_datadirsMethod · 0.80
init_chainsMethod · 0.80
sqlMethod · 0.45
commitMethod · 0.45

Tested by

no test coverage detected