Use the value of a State in a callback but don't trigger updates.
| 163 | |
| 164 | |
| 165 | class 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 | |
| 180 | class ClientsideFunction: # pylint: disable=too-few-public-methods |
no outgoing calls
searching dependent graphs…