MCPcopy Create free account
hub / github.com/tox-dev/filelock / contend

Function contend

tests/test_soft_lease.py:324–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 holder = _lease(marker)
323
324 def contend() -> None:
325 with suppress(Timeout):
326 holder.acquire()
327
328 with holder:
329 token = holder.token

Callers

nothing calls this directly

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected