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

Method set_cookie

dash/backends/base_server.py:138–141  ·  view source on GitHub ↗

Set a cookie in the response (like Flask's set_cookie).

(self, key, value="", **kwargs)

Source from the content-addressed store, hash-verified

136 raise NotImplementedError()
137
138 def set_cookie(self, key, value="", **kwargs):
139 """Set a cookie in the response (like Flask's set_cookie)."""
140 # Store as a tuple: (value, kwargs)
141 self._cookies[key] = (value, kwargs)
142
143 def append_header(self, key, value):
144 """Add a header to the response (like Flask's headers.add)."""

Callers 4

set_responseMethod · 0.45
set_cookiesFunction · 0.45
update_outputFunction · 0.45
set_cookie_and_headerFunction · 0.45

Calls

no outgoing calls

Tested by 2

update_outputFunction · 0.36
set_cookie_and_headerFunction · 0.36