(name: str, lock_path: str)
| 166 | |
| 167 | |
| 168 | def _build(name: str, lock_path: str) -> FileLock | SoftFileLock | StrictSoftFileLock: |
| 169 | if name == "FileLock": |
| 170 | return FileLock(lock_path) |
| 171 | if name == "SoftFileLock": |
| 172 | return SoftFileLock(lock_path) |
| 173 | return StrictSoftFileLock(lock_path) |
| 174 | |
| 175 | |
| 176 | if __name__ == "__main__": |
no test coverage detected