MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / set_lock

Method set_lock

src/diffusers/utils/logging.py:311–314  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

309 return EmptyTqdm(*args, **kwargs)
310
311 def set_lock(self, *args, **kwargs):
312 self._lock = None
313 if _tqdm_active:
314 return tqdm_lib.tqdm.set_lock(*args, **kwargs)
315
316 def get_lock(self):
317 if _tqdm_active:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected