MCPcopy Create free account
hub / github.com/huggingface/evaluate / __init__

Method __init__

src/evaluate/module.py:47–50  ·  view source on GitHub ↗
(self, lock_file, *args, **kwargs)

Source from the content-addressed store, hash-verified

45 """Thread lock until a file **cannot** be locked"""
46
47 def __init__(self, lock_file, *args, **kwargs):
48 self.filelock = FileLock(lock_file)
49 super().__init__(lock_file, *args, **kwargs)
50 self._lock_file_fd = None
51
52 def _acquire(self):
53 try:

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected