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

Function render

benchmarks/src/postprocessing/overview.py:54–55  ·  view source on GitHub ↗
(template: str, **kwargs)

Source from the content-addressed store, hash-verified

52
53
54def render(template: str, **kwargs) -> str:
55 return Template(template).render(**kwargs, format_bytes=lambda v: humanize.naturalsize(v, binary=True))
56
57
58def style(level=0) -> Dict[str, Any]:

Callers 3

render_benchmarkFunction · 0.70
render_workloadFunction · 0.70
create_summary_pageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected