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

Method accessible

dash/testing/application_runners.py:80–85  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

78
79 @staticmethod
80 def accessible(url):
81 try:
82 requests.get(url)
83 except requests.exceptions.RequestException:
84 return False
85 return True
86
87 def __call__(self, *args, **kwargs):
88 return self.start(*args, **kwargs)

Callers 5

startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected