MCPcopy Index your code
hub / github.com/plotly/dash / get_dist

Method get_dist

dash/dash.py:1093–1100  ·  view source on GitHub ↗
(self, libraries: Sequence[str])

Source from the content-addressed store, hash-verified

1091 return f"{self.config.requests_pathname_prefix}_dash-component-suites/{namespace}/{fingerprint}"
1092
1093 def get_dist(self, libraries: Sequence[str]) -> list:
1094 dists = []
1095 for dist_type in ("_js_dist", "_css_dist"):
1096 resources = ComponentRegistry.get_resources(dist_type, libraries)
1097 srcs = self._collect_and_register_resources(resources, False)
1098 for src in srcs:
1099 dists.append(dict(type=dist_type, url=src))
1100 return dists
1101
1102 # pylint: disable=too-many-branches
1103 def _collect_and_register_resources(

Callers 1

_prepare_responseFunction · 0.80

Calls 3

get_resourcesMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected