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

Method _wrap

dash/_hooks.py:103–105  ·  view source on GitHub ↗
(func: _t.Callable[[LayoutType], LayoutType])

Source from the content-addressed store, hash-verified

101 """
102
103 def _wrap(func: _t.Callable[[LayoutType], LayoutType]):
104 self.add_hook("layout", func, priority=priority, final=final)
105 return func
106
107 return _wrap
108

Callers

nothing calls this directly

Calls 1

add_hookMethod · 0.95

Tested by

no test coverage detected