Submit

korus.app.app_util.view.view_data_storage_locations(conn)[source]
korus.app.app_util.view.view_deployments(conn)[source]
korus.app.app_util.view.view_files(conn, file_ids=None)[source]
korus.app.app_util.view.view_jobs(conn)[source]
korus.app.app_util.view.view_table_contents(conn, table_name, ids=None, columns=None, transform_fcn=<function <lambda>>)[source]

Print table contents in human-friendly format.

Args:
conn: sqlite3.Connection

Database connection

table_name: str

Table name

ids: int,list(int)

Row indices to include. If None, all rows will be printed.

columns: str,list(str)

Columns to include. If None, all columns will be printed.

transform_fcn: callable

Function with signature (name, value) -> value for transforming table values

Returns:

None

korus.app.app_util.view.view_tags(conn)[source]
korus.app.app_util.view.view_taxonomies(conn)[source]