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

Method running_and_accessible

dash/testing/application_runners.py:152–155  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

150 self._app = None # Store app reference for graceful shutdown
151
152 def running_and_accessible(self, url):
153 if self.thread.is_alive(): # type: ignore[reportOptionalMemberAccess]
154 return self.accessible(url)
155 raise DashAppLoadingError("Thread is not alive.")
156
157 # pylint: disable=arguments-differ
158 def start(self, app, start_timeout=3, **kwargs):

Callers 1

startMethod · 0.95

Calls 2

DashAppLoadingErrorClass · 0.90
accessibleMethod · 0.80

Tested by

no test coverage detected