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

Function wrap

dash/_get_app.py:16–19  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

14def with_app_context(func):
15 @functools.wraps(func)
16 def wrap(self, *args, **kwargs):
17 app_context.set(self)
18 ctx = copy_context()
19 return ctx.run(func, self, *args, **kwargs)
20
21 return wrap
22

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…