Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/BrushNet
/ get_lock
Method
get_lock
src/diffusers/utils/logging.py:316–318 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
314
return
tqdm_lib.tqdm.set_lock(*args, **kwargs)
315
316
def
get_lock(self):
317
if
_tqdm_active:
318
return
tqdm_lib.tqdm.get_lock()
319
320
321
tqdm = _tqdm_cls()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected