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

Function _set_progress

dash/background_callback/managers/diskcache_manager.py:215–219  ·  view source on GitHub ↗
(progress_value)

Source from the content-addressed store, hash-verified

213 # pylint: disable-next=too-many-statements
214 def job_fn(result_key, progress_key, user_callback_args, context):
215 def _set_progress(progress_value):
216 if not isinstance(progress_value, (list, tuple)):
217 progress_value = [progress_value]
218
219 cache.set(progress_key, progress_value)
220
221 maybe_progress = [_set_progress] if progress else []
222

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…