golden hour
/usr/local/lib/python3.6/site-packages/filelock
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
1.21 KB
Del
OK
__pycache__
-
Del
OK
_api.py
8.19 KB
Del
OK
_error.py
362 B
Del
OK
_soft.py
1.58 KB
Del
OK
_unix.py
1.38 KB
Del
OK
_util.py
558 B
Del
OK
_windows.py
1.69 KB
Del
OK
py.typed
0 B
Del
OK
version.py
142 B
Del
OK
Edit: _error.py
class Timeout(TimeoutError): """Raised when the lock could not be acquired in *timeout* seconds.""" def __init__(self, lock_file: str) -> None: #: The path of the file lock. self.lock_file = lock_file def __str__(self) -> str: return f"The file lock '{self.lock_file}' could not be acquired." __all__ = [ "Timeout", ]
Save