tomato.dbhandler package

Submodules

tomato.dbhandler.sqlite.get_db_conn(dbpath, type='sqlite3')
Return type

tuple

tomato.dbhandler.sqlite.queue_setup(dbpath, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.state_setup(dbpath, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.job_set_status(dbpath, st, jobid, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.job_get_info(dbpath, jobid, type='sqlite3')
Return type

tuple

tomato.dbhandler.sqlite.job_set_time(dbpath, tcol, jobid, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.job_get_all_queued(dbpath, type='sqlite3')
Return type

list[tuple]

tomato.dbhandler.sqlite.job_get_all(dbpath, type='sqlite3')
Return type

list[tuple]

tomato.dbhandler.sqlite.pipeline_reset_job(dbpath, pip, ready=False, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.pipeline_assign_job(dbpath, pip, jobid, pid, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.pipeline_get_running(dbpath, type='sqlite3')
Return type

list[tuple]

tomato.dbhandler.sqlite.pipeline_get_all(dbpath, type='sqlite3')
Return type

list[tuple]

tomato.dbhandler.sqlite.pipeline_get_info(dbpath, pip, type='sqlite3')
Return type

tuple

tomato.dbhandler.sqlite.pipeline_remove(dbpath, pip, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.pipeline_insert(dbpath, pip, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.pipeline_load_sample(dbpath, pip, sampleid, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.pipeline_eject_sample(dbpath, pip, type='sqlite3')
Return type

None

tomato.dbhandler.sqlite.queue_payload(dbpath, pstr, type='sqlite3', jobname=None)
Return type

tuple