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

Class ClientsideFunction

dash/dependencies.py:180–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178
179
180class ClientsideFunction: # pylint: disable=too-few-public-methods
181 def __init__(self, namespace: str, function_name: str):
182
183 if namespace.startswith("_dashprivate_"):
184 raise ValueError("Namespaces cannot start with '_dashprivate_'.")
185
186 if namespace in ["PreventUpdate", "no_update"]:
187 raise ValueError(
188 f'"{namespace}" is a forbidden namespace in dash_clientside.'
189 )
190
191 self.namespace = namespace
192 self.function_name = function_name
193
194 def __repr__(self):
195 return f"ClientsideFunction({self.namespace}, {self.function_name})"
196
197
198def extract_grouped_output_callback_args(args, kwargs):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…