Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PierreGode/Ragnar
/ set_lock
Method
set_lock
pager_lib/tqdm/std.py:756–758 ·
view source on GitHub ↗
Set the global lock.
(cls, lock)
Source
from the content-addressed store, hash-verified
754
755
@classmethod
756
def
set_lock(cls, lock):
757
""
"Set the global lock."
""
758
cls._lock = lock
759
760
@classmethod
761
def
get_lock(cls):
Callers
1
ensure_lock
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected