swh.scanner.dashboard.dashboard module#

swh.scanner.dashboard.dashboard.generate_table_body(dir_path: bytes, source_tree: Directory, nodes_data: MerkleNodeInfo)[source]#

Generate the data_table from the path taken from the chart.

For each file builds the html table rows showing the known status, a local link to the file and the relative SoftWare Heritage persistent IDentifier (SWHID).

swh.scanner.dashboard.dashboard.run_app(graph_obj: <module 'plotly.graph_objects' from '/home/jenkins/workspace/DDOC/publish/swh-docs/.tox/sphinx/lib/python3.11/site-packages/plotly/graph_objects/__init__.py'>, source_tree: ~swh.model.from_disk.Directory, nodes_data: ~swh.scanner.data.MerkleNodeInfo)[source]#