Download mgm/lib/python3.10/site-packages/fsspec/exceptions.py from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/mgm/lib/python3.10/site-packages/fsspec/exceptions.py
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/mgm/lib/python3.10/site-packages/fsspec/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/mgm/lib/python3.10/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 | |
| """ | |