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

Class MySoftFileLock

tests/test_filelock.py:802–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800 MyFileLock(str(lock_path), my_param=1)
801
802 class MySoftFileLock(SoftFileLock):
803 def __init__(
804 self,
805 lock_file: str | os.PathLike[str],
806 timeout: float = -1,
807 mode: int = 0o644,
808 thread_local: bool = True,
809 my_param: int = 0,
810 **kwargs: dict[str, Any], # noqa: ARG002
811 ) -> None:
812 super().__init__(lock_file, timeout, mode, thread_local, blocking=True, is_singleton=True)
813 self.my_param = my_param
814
815 MySoftFileLock(str(lock_path), my_param=1)
816

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…