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

Method headers

dash/_callback_context.py:284–289  ·  view source on GitHub ↗

Get the original headers for the current callback. Works with background callbacks.

(self)

Source from the content-addressed store, hash-verified

282 @property
283 @has_context
284 def headers(self):
285 """
286 Get the original headers for the current callback.
287 Works with background callbacks.
288 """
289 return _get_from_context("headers", {})
290
291 @property
292 @has_context

Callers

nothing calls this directly

Calls 1

_get_from_contextFunction · 0.85

Tested by

no test coverage detected