MCPcopy
hub / github.com/plotly/dash / __call__

Method __call__

dash/_hooks.py:317–324  ·  view source on GitHub ↗
(self, err: Exception)

Source from the content-addressed store, hash-verified

315 self.original = original
316
317 def __call__(self, err: Exception):
318 result = None
319 if self.original:
320 result = self.original(err)
321 hook_result = None
322 for hook in HooksManager.get_hooks("error"):
323 hook_result = hook(err)
324 return result or hook_result
325
326 @classmethod
327 def get_hooks(cls, hook: str):

Callers

nothing calls this directly

Calls 1

get_hooksMethod · 0.45

Tested by

no test coverage detected