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

Method make_response

dash/backends/_flask.py:172–181  ·  view source on GitHub ↗
(
        self,
        data: str | bytes | bytearray,
        mimetype: str | None = None,
        content_type: str | None = None,
        status: int | None = None,
    )

Source from the content-addressed store, hash-verified

170 self.server.run(host=host, port=port, debug=debug, **kwargs)
171
172 def make_response(
173 self,
174 data: str | bytes | bytearray,
175 mimetype: str | None = None,
176 content_type: str | None = None,
177 status: int | None = None,
178 ):
179 return Response(
180 data, mimetype=mimetype, content_type=content_type, status=status
181 )
182
183 def jsonify(self, obj: Any):
184 return jsonify(obj)

Callers 8

serve_layoutMethod · 0.45
serve_healthMethod · 0.45
dependenciesMethod · 0.45
_json_responseFunction · 0.45
_handle_mcp_requestFunction · 0.45
_handle_getFunction · 0.45
_handle_deleteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected