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

Function validation_function

tests/integration/devtools/test_callback_validation.py:733–734  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

731 validation_layout = html.Div([skeleton, layout_index, layout_page_1, layout_page_2])
732
733 def validation_function():
734 return skeleton if flask.has_request_context() else validation_layout
735
736 app.layout = validation_function if validation == "function" else skeleton
737 if validation == "attribute":

Callers

nothing calls this directly

Calls 1

has_request_contextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…