MCPcopy Create free account
hub / github.com/dask/dask / get_template

Function get_template

dask/widgets/widgets.py:34–40  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

32
33
34def get_template(name: str) -> Template:
35 try:
36 return get_environment().get_template(name)
37 except TemplateNotFound as e:
38 raise TemplateNotFound(
39 f"Unable to find {name} in dask.widgets.TEMPLATE_PATHS {TEMPLATE_PATHS}"
40 ) from e

Callers 7

_repr_html_Method · 0.90
_repr_html_Method · 0.90
to_htmlMethod · 0.90
test_widgetsFunction · 0.90
test_unknown_templateFunction · 0.90
test_filtersFunction · 0.90
core.pyFile · 0.90

Calls 1

get_environmentFunction · 0.70

Tested by 3

test_widgetsFunction · 0.72
test_unknown_templateFunction · 0.72
test_filtersFunction · 0.72