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

Function layout_hook

tests/integration/test_hooks.py:256–262  ·  view source on GitHub ↗
(layout)

Source from the content-addressed store, hash-verified

254
255 @hooks.layout()
256 def layout_hook(layout):
257 try:
258 retrieved_app = get_app()
259 hook_access_results["layout_hook"] = retrieved_app is not None
260 except Exception:
261 hook_access_results["layout_hook"] = False
262 return layout
263
264 @hooks.error()
265 def error_hook(error):

Callers

nothing calls this directly

Calls 1

get_appFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…