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

Class State

dash/dependencies.py:165–177  ·  view source on GitHub ↗

Use the value of a State in a callback but don't trigger updates.

Source from the content-addressed store, hash-verified

163
164
165class State(DashDependency): # pylint: disable=too-few-public-methods
166 """Use the value of a State in a callback but don't trigger updates."""
167
168 def __init__(
169 self,
170 component_id: ComponentIdType,
171 component_property: str,
172 allow_optional: bool = False,
173 ):
174 super().__init__(component_id, component_property)
175 self.allow_optional = allow_optional
176
177 allowed_wildcards = (MATCH, ALL, ALLSMALLER)
178
179
180class ClientsideFunction: # pylint: disable=too-few-public-methods

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…