Spaces:
Running
Running
Download python_embed/Lib/site-packages/fsspec/exceptions.py from Aluode/PerceptionLabPortable: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/Aluode/PerceptionLabPortable/resolve/main/python_embed/Lib/site-packages/fsspec/exceptions.py
- Command line
-
hf download hf://spaces/Aluode/PerceptionLabPortable/python_embed/Lib/site-packages/fsspec/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/Aluode/PerceptionLabPortable/resolve/main/python_embed/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 | |
| """ | |