MCPcopy Create free account
hub / github.com/FastLED/FastLED / __enter__

Method __enter__

ci/util/build_lock.py:311–315  ·  view source on GitHub ↗

Context manager entry.

(self)

Source from the content-addressed store, hash-verified

309 pass
310
311 def __enter__(self) -> "BuildLock":
312 """Context manager entry."""
313 if not self.acquire():
314 raise TimeoutError("Failed to acquire build lock")
315 return self
316
317 def __exit__(
318 self,

Callers 1

connectMethod · 0.45

Calls 1

acquireMethod · 0.95

Tested by

no test coverage detected