Download python/Lib/site-packages/fsspec/exceptions.py from codekingpro/portable-devtools: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/python/Lib/site-packages/fsspec/exceptions.py
- Command line
-
hf download hf://datasets/codekingpro/portable-devtools@df58e70f9edde36aaca2d2aacc2440dd6c2f807d/python/Lib/site-packages/fsspec/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/python/Lib/site-packages/fsspec/exceptions.py
331 Bytes
| """ | |
| fsspec user-defined exception classes | |
| """ | |
| import asyncio | |
| class BlocksizeMismatchError(ValueError): | |
| """ | |
| Raised when a cached file is opened with a different blocksize than it was | |
| written with | |
| """ | |
| class FSTimeoutError(asyncio.TimeoutError): | |
| """ | |
| Raised when a fsspec function timed out occurs | |
| """ | |