MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / create_node_tabs

Function create_node_tabs

benchmarks/src/postprocessing/monitor.py:548–553  ·  view source on GitHub ↗

Creates a tab for each node in the `report`.

(report: ClusterReport, render_fn: Callable[[Node], Model])

Source from the content-addressed store, hash-verified

546
547
548def create_node_tabs(report: ClusterReport, render_fn: Callable[[Node], Model]):
549 """
550 Creates a tab for each node in the `report`.
551 """
552 nodes = sorted(report.cluster.nodes.values(), key=lambda node: node.hostname)
553 return create_tabs(nodes, render_fn)
554
555
556def render_output(report: ClusterReport):

Callers 2

render_outputFunction · 0.85

Calls 2

create_tabsFunction · 0.85
valuesMethod · 0.80

Tested by

no test coverage detected