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

Function init_pages_state

tests/conftest.py:22–26  ·  view source on GitHub ↗

Clear all global state that is used by pages feature.

()

Source from the content-addressed store, hash-verified

20
21
22def init_pages_state():
23 """Clear all global state that is used by pages feature."""
24 dash._pages.PAGE_REGISTRY.clear()
25 dash._pages.CONFIG.clear()
26 dash._pages.CONFIG.__dict__.clear()

Callers 1

clear_pages_stateFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…