MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / _after_fork

Method _after_fork

utils/reduction.py:77–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 register_after_fork(self, SharedCache._after_fork)
76
77 def _after_fork(self):
78 self.lock = threading.Lock()
79
80 def get(self, key): # type: ignore[override]
81 with self.lock:

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected