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

Method serve_layout

dash/dash.py:956–961  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

954 return layout
955
956 def serve_layout(self):
957 # TODO - Set browser cache limit - pass hash into frontend
958 return self.backend.make_response(
959 to_json(self.get_layout()),
960 mimetype="application/json",
961 )
962
963 def _config(self):
964 # pieces of config needed by the front end

Callers

nothing calls this directly

Calls 3

get_layoutMethod · 0.95
to_jsonFunction · 0.85
make_responseMethod · 0.45

Tested by

no test coverage detected