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

Method serve_health

dash/dash.py:1059–1064  ·  view source on GitHub ↗

Health check endpoint for monitoring Dash server status. Returns a simple "OK" response with HTTP 200 status.

(self)

Source from the content-addressed store, hash-verified

1057 )
1058
1059 def serve_health(self):
1060 """
1061 Health check endpoint for monitoring Dash server status.
1062 Returns a simple "OK" response with HTTP 200 status.
1063 """
1064 return self.backend.make_response("OK", status=200, mimetype="text/plain")
1065
1066 def _get_worker_url(self) -> str:
1067 """Get the URL for the WebSocket worker script.

Callers

nothing calls this directly

Calls 1

make_responseMethod · 0.45

Tested by

no test coverage detected