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

Class _Hook

dash/_hooks.py:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27# pylint: disable=too-few-public-methods
28class _Hook(_tx.Generic[HookDataType]):
29 def __init__(
30 self, func, priority=0, final=False, data: _t.Optional[HookDataType] = None
31 ):
32 self.func = func
33 self.final = final
34 self.data = data
35 self.priority = priority
36
37 def __call__(self, *args, **kwargs):
38 return self.func(*args, **kwargs)
39
40
41class _Hooks:

Callers 1

add_hookMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…