tkp.db.configstore – Key-value record of job configuration params

store and retrieve pipeline settings to/from database

tkp.db.configstore.fetch_config(dataset_id)[source]

Retrieve the stored config for given dataset id

Returns:nested dict [section][key] -> [value]
tkp.db.configstore.store_config(config, dataset_id)[source]

Store a config defined in d into the database.

Parameters:config (dict) – nested dict containing config, [section][key] -> [value]