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

Class TestDiskCacheManager

tests/async_tests/utils.py:18–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18class TestDiskCacheManager(DiskcacheManager):
19 def __init__(self, cache=None, cache_by=None, expire=None):
20 super().__init__(cache=cache, cache_by=cache_by, expire=expire)
21 self.running_jobs = []
22
23 def call_job_fn(
24 self,
25 key,
26 job_fn,
27 args,
28 context,
29 ):
30 pid = super().call_job_fn(key, job_fn, args, context)
31 self.running_jobs.append(pid)
32 return pid
33
34
35def get_background_callback_manager():

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…