Spaces:
Paused
Paused
Download myenv/lib/python3.11/site-packages/fsspec/exceptions.py from JAMESPARK3/pixtral: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/JAMESPARK3/pixtral/resolve/main/myenv/lib/python3.11/site-packages/fsspec/exceptions.py
- Command line
-
hf download hf://spaces/JAMESPARK3/pixtral/myenv/lib/python3.11/site-packages/fsspec/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/JAMESPARK3/pixtral/resolve/main/myenv/lib/python3.11/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 | |
| """ | |