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

Method _sync_view_func

dash/backends/_flask.py:341–344  ·  view source on GitHub ↗
(*args, handler=handler, **kwargs)

Source from the content-addressed store, hash-verified

339 else:
340
341 def _sync_view_func(*args, handler=handler, **kwargs):
342 data = request.get_json()
343 result = handler(**data) if data else handler()
344 return jsonify(result)
345
346 view_func = _sync_view_func
347

Callers

nothing calls this directly

Calls 2

handlerFunction · 0.85
get_jsonMethod · 0.45

Tested by

no test coverage detected