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

Method __init__

dash/development/build_process.py:20–29  ·  view source on GitHub ↗
(self, main, deps_info)

Source from the content-addressed store, hash-verified

18
19class BuildProcess:
20 def __init__(self, main, deps_info):
21 self.logger = logger
22 self.main = main
23 self.build_folder = self._concat(self.main, "build")
24 self.deps_info = deps_info
25 self.npm_modules = self._concat(self.main, "node_modules")
26 self.package_lock = self._concat(self.main, "package-lock.json")
27 self.package = self._concat(self.main, "package.json")
28 self._parse_package(path=self.package)
29 self.asset_paths = (self.deps_folder, self.npm_modules)
30
31 def _parse_package(self, path):
32 with open(path, "r", encoding="utf-8") as fp:

Callers

nothing calls this directly

Calls 2

_concatMethod · 0.95
_parse_packageMethod · 0.95

Tested by

no test coverage detected